note 63649 deleted from function.readfile by philip

From: Date: Mon, 05 Mar 2007 06:36:44 +0000
Subject: note 63649 deleted from function.readfile by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124084@lists.php.net to get a copy of this message
Note Submitter: stefan at stefandouma dot nl ---- If you want to read a file from your ftp server use this: readfile("ftp://" . $username . ":" . $password . "@domain.com/file.html"); Don't use this, it's not going to work: readfile(ftp_get($conn_id, $local_file, $server_file, FTP_BINARY));

« previous php.notes (#124084) next »