Can anyone tell me why the following line of code halts my entire script (anything after it is not processed).
ftp_chmod($conn, 0777, $to);
All other ftp commands in the script work perfectly. I've tried replacing '0777' with 777, 1777, in and out of "s, but it still halts the script, there is nothing after the command to halt the execution of the script either. echoing something directly before it will appear, but echoing something directly after it does not.
The command is probably failing or hanging on the FTP server. Are you sure the user you're connecting with has permission to execute chmod?
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php