Sub JobDone(Job As HttpJob)
ProgressDialogHide
If Job.Success Then
Dim res As String, action As String
res = Job.GetString
Log("Back from Job:" & Job.JobName )
Log("Response from server: " & res)
Using httputils the response of the php script is stored in "res"
You can check the job coming back (f.e. "Login" and then check if res = "Y" (or return an JSON array with "Auth:True" or similar)
The workflow is:
1. Call a php script
2. do nothing
3. JobDone is called when the Job is finished
4. Check if Job.success = true
5. Check the content of "res" (coming from the php via "print" or "JSON_ENCODE"