Get the value of a post in php

error77
error77 used Ask the Experts™
on
Hi all,

I've got 2 pages.

PageA (Not PHP) but uses this code to post the value of a username and password to pageB

- (void)SubmitMyLogin
{    
    NSURL *url = [NSURL URLWithString:[(BakerClaimsAppDelegate*)[[UIApplication sharedApplication] delegate] GetLoginURL]];

    ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
    [request setPostValue:[userName text] forKey:@"username"];
    [request setPostValue:[password text] forKey:@"password"];
    [request setUploadProgressDelegate:self];
    [request setDelegate:self];
    [request startAsynchronous];
}

Open in new window

On pageB using PHP, how can I get the username and password that the code above is posting?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
$username = $_POST['username'];
$password = $_POST['password'];

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial