note 23681 added to function.fpassthru

From: Date: Wed, 24 Jul 2002 20:37:39 +0000
Subject: note 23681 added to function.fpassthru
Groups: php.notes 
Request: Send a blank email to php-notes+get-33524@lists.php.net to get a copy of this message
If you trying to output a user-written file on a page for verifying, editing, etc, you'll want to use fopen(), fread(), htmlentities() to avoid malicious code. Text from fpassthru, while not parsed per se can still mess up the display of a page (or at least it did for me!) --mt. -- http://www.php.net/manual/en/function.fpassthru.php http://master.php.net/manage/user-notes.php?action=edit+23681 http://master.php.net/manage/user-notes.php?action=delete+23681 http://master.php.net/manage/user-notes.php?action=reject+23681

« previous php.notes (#33524) next »