Re: FTP_DELETE!
| From: | John W. Holmes | Date: | Thu, 06 Nov 2003 02:24:27 +0000 |
| Subject: | Re: FTP_DELETE! | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168655@lists.php.net to get a copy of this message | ||
Dimitri Marshall wrote:
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