Is it reasonable to use php like this? & nbsp; hello everyone, I am working on a project to collect traffic, after the information is collected, it needs to be sent to our server through wifi for processing. On the server side, there is a web server for users to query related information through a browser. Is it reasonable for me to use p php under the web server directly?
Hello everyone, I am working on a project to collect traffic and send the information to our server through wifi for processing. On the server side, there is a web server for users to query related information through a browser. The problem is that I can directly use php on the web server to establish a socket connection with wifi and then receive information from wifi, or I need to write another application server on the server to communicate with wifi and then share the database with the web server to share data. What kind of thinking do you think is better? Or are there any problems ?? Share:
------ Solution --------------------
Reference:
Reference:
Why is it not that wifi is submitted to the web, but that the web uses socket to connect to wifi.
Because my side involves two-way communication, the web needs to regularly send data to wifi and listen for wifi data in real time.
In real time, do not link to the web. directly write data to the C server.