Re: ftp_connect($ftp_server);
| From: | Dave W | Date: | Sun, 02 Jul 2006 00:02:49 +0000 |
| Subject: | Re: ftp_connect($ftp_server); | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42147@lists.php.net to get a copy of this message | ||
Use the unlink function:
$myFile = "testFile.txt";
unlink($myFile);
On 7/1/06, Ron Piggott (PHP) <ron.php@actsministries.org> wrote:
Every now and then the following command fails --- the FTP connection is refused by the server: $conn_id = ftp_connect($ftp_server); Is there a way to delete a file within PHP without having to FTP to the server? Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Dave W