One more try! First: I'm not a PHP programmer, nor B4A, but I can read code. Here are my issues with this case.
1)
First post: PHP throws up an error message.
Solution: The site does not support old PHP functions.
Solutions proposed by w/some code by
@DonManfred
2)
@erasmusackon comes back with some code in post#9. The problem is, this code should have not worked. Why? Because of:
#
# Scriptende...
#
fwrite($file_handle, $db->trace."\r\n");
fclose($file_handle);
Nowhere in his code did he ever use fopen to assign a file handle to $file_handle. When accessing his script via a web browser, some sort of error message should have been shown/created/logged, no?
3)
@erasmusackon comes back with more code in post#11, reverting back to the old mysql functions. This makes no sense to me. I thought the server did not support the old functions? If so, the website will not produce a correct result.
What I'm getting at is that
@erasmusackon should first have a proper PHP script that will produce an expected output when accessed via a web browser. Until that happens, we can say squat about why the Android app is not working or if the hosting provider is at fault with anything. Let's get one thing up and running first, before worrying about the other.
My 2 cents.