note 21404 added to function.readfile

From: Date: Sat, 11 May 2002 17:07:49 +0000
Subject: note 21404 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-30475@lists.php.net to get a copy of this message
Don't forget to replace any SPACE's (e.g. " ") in the url / filename with "%20". Otherwise you will get strange error messages. This foxed me for almost an hour ! You can use the following to replace the spaces with a URL friendly character: @$filename = str_replace(" ", "%20", $filename); -- http://www.php.net/manual/en/function.readfile.php http://master.php.net/manage/user-notes.php?action=edit+21404 http://master.php.net/manage/user-notes.php?action=delete+21404 http://master.php.net/manage/user-notes.php?action=reject+21404

« previous php.notes (#30475) next »