title: Xcode WebView not passing POST parameters
body: <p>i need to pass some post parameters to the server but the php getting an empty array
  of $_POST
  this is my code:</p>
  
  <pre><code> NSString* user=UserNameField.stringValue;
  NSString* pass=PasswordField.stringValue;
  NSString* ID=IDField.stringValue;
  
  NSURL *url = [NSURL URLWithString:ENTERANCE];
  url = [NSURL URLWithString:@"http://sphere-beauty.com/test.php"];
  
  
  NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url];
  NSString* post=[NSString stringWithFormat:@"uname=%@&amp;passwd=%@&amp;id=%@",user,pass,ID];
  
  [req setHTTPMethod:@"POST"];
  [req setHTTPBody: [post dataUsingEncoding:NSUTF8StringEncoding]];
  
  
  
  [[browser mainFrame] loadRequest:req];
  </code></pre>
  
  <p>can anyone help?</p>