I
I
ITlatip2019-10-07 21:11:54
PHP
ITlatip, 2019-10-07 21:11:54

How to establish a connection between a mobile PhoneGap application and php lying on the server?

I am developing a hybrid mobile application based on PhoneGap and I want to make a mini messenger and for this I want to somehow work with php but since php is not executed on the client side can I put php on the server and somehow establish a connection between the application and this php file lying on the server? It is desirable to establish a connection between php and the js application on js if this is possible, but there is another way.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2019-10-07
@ITlatip

You can establish a connection - write an API in php , i.e. a full-fledged backend that will store correspondence, and on the PhoneGap side of the application, write ajax requests to receive and send data to the backend.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question