note 15221 deleted from function.ftp-get by jimw

From: Date: Fri, 07 Dec 2001 02:01:49 +0000
Subject: note 15221 deleted from function.ftp-get by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21797@lists.php.net to get a copy of this message
I think that what you really want here is: $data = file($tempfile); not $data = readfile($tempfile) as readfile() prints directly to standard out rather than returning an array containing the contents of the file

« previous php.notes (#21797) next »