mohammad javad
Member
Hi
I'm trying to connect to my remote server by httputils2 in B4A with a php file uploaded there. I "Poststring" username and password, the php script checks if there is a valid user and then returns a message by "echo" (php command) a "successful login". I want to use this message and check if B4A application got this message, it'll do something. How can I get that message?
I've already seen https://www.b4x.com/android/forum/threads/how-to-get-the-echo-string-of-php-after-job-success.21178/ but Job.Getstring returns whole html script ( in which there is no php echo message)
I also appreciate other suggestions to check usernames and passwords using b4a and php.
I'm trying to connect to my remote server by httputils2 in B4A with a php file uploaded there. I "Poststring" username and password, the php script checks if there is a valid user and then returns a message by "echo" (php command) a "successful login". I want to use this message and check if B4A application got this message, it'll do something. How can I get that message?
I've already seen https://www.b4x.com/android/forum/threads/how-to-get-the-echo-string-of-php-after-job-success.21178/ but Job.Getstring returns whole html script ( in which there is no php echo message)
I also appreciate other suggestions to check usernames and passwords using b4a and php.
Last edited: