I am using a FTP upload php script. In my PHP.ini, I set both the post_max_size = 21000M
upload_max_filesize = 21000M
We are a graphics company, so we deal with large files on a daily basis. Before, my browser would error out (404 error) because the files were to big, so I went nuts and set the above to 21000 just to test.......
When I try to upload large files (like 16M), i get the following message:
Warning: ftp_site: SITE not understood. in /var/www/html/upload/image_upload.php on line 54
GTM flyer_Jan17-31-linda was uploaded successfully
As you can see, the file was uploaded successfully......but why the warning error?? Here is line 54 in my upload script:
//use ftp_site to change mode of the file
$ch=ftp_site($conn_id,"chmod 777 ".$destination_file);
Any Ideas??