note 25096 added to function.htmlentities

From: Date: Tue, 10 Sep 2002 18:34:04 +0000
Subject: note 25096 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-36464@lists.php.net to get a copy of this message
To convert some file name to html and save it's contents to a string, try this. $source = show_source('/htdocs/file.php', TRUE); echo $source; show_source()'s second parameter by default is FALSE which means to show the file contents on it's own. By setting it to TRUE it returns the file contents as a string. -- http://www.php.net/manual/en/function.htmlentities.php http://master.php.net/manage/user-notes.php?action=edit+25096 http://master.php.net/manage/user-notes.php?action=delete+25096 http://master.php.net/manage/user-notes.php?action=reject+25096

« previous php.notes (#36464) next »