Don't know what that is because I don't connect to FTP. The files upload fine, but I just want to know how to delete them. Is the result of ftp_connect() the $host in mysql_connect?
If you're talking about deleting files on the same filesystem as your PHP scripts, then use unlink(). ftp_delete() is for something else that can't be used unless you use ftp_connect().
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php