Greetings,
Quick question before I head to bed:
Is it possible to retrieve a file from a remote server via a PHP script?
For example, lets say there's a log file on a remote server that you want to retrieve each day,
sort the log files contents, then dump the info into a MySQL database.
I guess the required steps would be:
1.) Connect to the remote server. Possibly a Windows share.
2.) Suppy the login credentials.
3.) Download the file from the remote server.
4.) Chop-up the file however you wish.
5.) Write info to database.
If it's possible, please point me to the appropriate functions and/or suppy advice on how to make
PHP do this.
Thank you for your time,
Nick