Various way to send data to the web server
Client Environment : Windows XP , Internet connection Available, PHP Not installed.
Server Environment : CentOS , Internet connection Available, P开发者_如何学运维HP , MYsql installed.
Data are stored in files at client machine , suggest better ways to send data fetched from the file to the server. Normally i would be using HTTP request using Curl to send the data to the server but client machine doesnt have php installed.
What all are the ways to send data to the server and the comparisons?
Note: In client machine the data are to be taken from the file and to be sent in background as a daemon.
Unless you want to install some sort of software on the client machine to make the data available to the server, there is really no other simple way that I can think of other than writing a web app to upload the files (which may not be practical, and certainly requires manual labor).
Otherwise, you could setup an sFTP server (or something that accomplishes the same thing) on the client machine, and use PHP to connect to the sFTP service on the client machine.
精彩评论