Yesterday I set up a simple php script on my website to retrieve data from a database based on the name input in a simple C2 project. The php uses $_REQUEST so it can take info from either get or post.
The c2 project is completely simple. 1 textbox 1 button 1 text object 1 AJAX object. Type in the textbox click the button it requests the php page. On AJAX complete it sets the text objects text to the LastData. On AJAX error it does the same thing.
Cant really get any more simple than that
On desktop browsers this works perfectly. I can get the correct values from typin the url mself and from the c2 project.
On my iphone with mobile safari I can get the correct values if I type the url mself but _NOT_ from the c2 project.
The c2 project always gives the AJAX error event with _NO_ LastData!
So you can see my question here... How come c2 always gives me an error even tho my php clearly works fine when I enter the url manually? And why is it only on my iphone that its happening?
EDIT: forgot to mention I also tried the ajaxPOST plugin found in the plugins section. The result is the same as the standard c2 ajax plugin