Jump to content

[SOLVED] php ftp and http?? which


garethhall

Recommended Posts

Hello to all you gurus out there. I have a question. I have a file php file upload system and works all good. Currently I am using the http file upload move_uploaded_file() function. My question is are there any gains by changing it to ftp_put() ??? What are they and what are the benefits of changing if there is any?

Link to comment
https://forums.phpfreaks.com/topic/176804-solved-php-ftp-and-http-which/
Share on other sites

Hm... so far as I know the only difference is that FTP is for accessing other websites. There's no point if you're putting it on your own server. But say you want to take a file from server a to server b, and the script is on server a but not server b, you can't upload normally, you need FTP. But if you're going from a client to a server, there's no point

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.