note 24054 added to function.show-source

From: Date: Mon, 05 Aug 2002 13:24:34 +0000
Subject: note 24054 added to function.show-source
Groups: php.notes 
Request: Send a blank email to php-notes+get-34303@lists.php.net to get a copy of this message
It's not so difficult, but quite usefull, if you want to present your c-code on a website: You have to add '// <?php' at the very first line and '// ?>' at the very last, this way you can compile the file and treat it as php-code with show_source() -- http://www.php.net/manual/en/function.show-source.php http://master.php.net/manage/user-notes.php?action=edit+24054 http://master.php.net/manage/user-notes.php?action=delete+24054 http://master.php.net/manage/user-notes.php?action=reject+24054

« previous php.notes (#34303) next »