On 9 March 2011 01:20, rondog <[email protected]> wrote: > Here is my PHP script and remember this script is working great on > iPhone and iPad.
No. Script is not working on Iphone nor ipad at all. It works on server. On device you deal with its output and http protocol. > http://pastie.org/1649505 Your script got some bugs (didn't check the logic though). I.e. you had such things: stripslashes(mysql_real_escape_string(... these calls are oposite to each other in that order, so either you wrote it w/o bothering what you do or you got misconfigured php (magic_quites_gpc for example). Fix your php settings at first, or swap the call order. You do not check mysql_query() result. Line 8 may fail undersome circumstances spitting out warning and pushing out headers. Using @ (line 48) is wrong. It mutes error message but you shall rather check $fp agains null before proceeding and not mute error message (in that case line 139 fail too) -- Regards, Marcin Orlowski -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

