I have 2 pages PageA and pageB. PageA posts some values to pageB and pageB gets it.
Now, my problem is that the code is expecting a 0 or 1 as return...
Here is the code for pageA:
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"];
and PageB has:
$username = $_POST['username'];
$password = $_POST['password'];
My question is...how do I provide this return in from pageB to pageA in PHP?
I basically need pageA to think it's all ok by returning a 1 even if it's hardcoded.