I was just wondering if i can use Xampp installed on my local machine running a PHP script with FTP commands to forward a file to another server which is online? Any information or tutorials would be of great help to me as i can't seem to find much online at the moment. Thanks in advance.
using PHP +Xampp locally( on my laptop) to FTP remotely
Moderator: General Moderators
using PHP +Xampp locally( on my laptop) to FTP remotely
Hi all,
I was just wondering if i can use Xampp installed on my local machine running a PHP script with FTP commands to forward a file to another server which is online? Any information or tutorials would be of great help to me as i can't seem to find much online at the moment. Thanks in advance.
I was just wondering if i can use Xampp installed on my local machine running a PHP script with FTP commands to forward a file to another server which is online? Any information or tutorials would be of great help to me as i can't seem to find much online at the moment. Thanks in advance.
Re: using PHP +Xampp locally( on my laptop) to FTP remotely
Why not just use FTP? Failing that if for some reason you need PHP to do ftp, you can do it with cURL (with our without PHP). You can also use the ftp wrapper which allows you to use more common php commands like those used for files (file_put_contents, etc.). Or you can use the full on ftp extensions.