note 34701 added to function.highlight-file
| From: | "�yvind" at rack1 dot php dot net | Date: | Mon, 04 Aug 2003 17:39:46 +0000 |
| Subject: | note 34701 added to function.highlight-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53333@lists.php.net to get a copy of this message | ||
Put this in your homepage for code snipplets, or for use in a codelibary. The sourcefile will be
highlighted where you paste this code.
<?php
$code = 'sourcefile.php';
$code = highlight_file($code,1);
echo ("$code");
?>
You can also use highlight_sting and paste the code inside the tags like:
'
<?
phpinfo();
?>
'
----
Manual Page -- http://www.php.net/manual/en/function.highlight-file.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34701
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34701&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34701&report=yes