(Xcode) How to connect to a PHP page?
I want to login at a page with my username and password. I want that my app connects to the php page in a UIWebView and login.
iPhone 4, iOS 4
Developer Forums relocated!
Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.
Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.
I want to login at a page with my username and password. I want that my app connects to the php page in a UIWebView and login.
iPhone 4, iOS 4
NSString *post = [[NSStringalloc]initWithFormat:@"ccsForm=Login&login=%@&password=%@",nameInput.text,passInput.text];
I tried that and it didnt worked 😟
It is usually very hard to debug issues like these without access to server logs. One thing you can do is view the HTTP post information using your browser developer tools and compare that with what you are posting from your code.
(Xcode) How to connect to a PHP page?