note 34701 deleted from function.highlight-file by didou
| From: | didou@php.net | Date: | Mon, 04 Aug 2003 18:27:12 +0000 |
| Subject: | note 34701 deleted from function.highlight-file by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53340@lists.php.net to get a copy of this message | ||
Note Submitter: Øyvind Nondal
----
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();
?>
'