I have two servers. One is a free website that doesn’t support PHP and the other is my personal server that supports PHP.
I want to be able to transfer a file from server #1 onto server #2 (the free server that doesn’t support PHP).
Since server #2, the free server, doesn’t support PHP, I can’t simply setup a PHP program on that side to accept an HTTP request and mange files.
I need some way for PHP on my personal server to be able to actually access the second server’s FTP via a socket or some such and send the file.
To draw a scenario, let’s say the file on my personal server is called “fileupload232.jpg” and exists in the root directory. How would I now copy the file so it exists on both servers in their root directorys?
Why do I care about my free server if I already have a better server, you might ask. Because my friend only has a free server and would like an Admin CP build for it but it don’t support PHP so the Admin CP will need to move to my server.
Side note:
My personal server’s PHP version is quite low…
<? echo phpversion(); ?> outputs [color=blue]4.3.10