[PHP] FTP_DELETE!
Hi, Just wondering what to put for the resource ftp_stream in the following: ftp_delete ( resource ftp_stream, string path) Thanks in advance, Dimitri Marshall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] FTP_DELETE!
Dimitri Marshall wrote: Just wondering what to put for the resource ftp_stream in the following: ftp_delete ( resource ftp_stream, string path) the result of 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
Re: [PHP] FTP_DELETE!
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? Dimitri Marshall John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dimitri Marshall wrote: Just wondering what to put for the resource ftp_stream in the following: ftp_delete ( resource ftp_stream, string path) the result of 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
[PHP] FTP_DELETE HELP!
Hi, Just wondering what to put for the resource ftp_stream in the following: ftp_delete ( resource ftp_stream, string path) I don't use ftp_connect to allow users to upload files, so I don't know what the result of ftp_connect is. Is the result of ftp_connect() the $host in mysql_connect? Thanks in advance, Dimitri Marshall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] FTP_DELETE!
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php