"Ross Honniball" <[EMAIL PROTECTED]>
Subject: Re: [PHP-WIN] Presenting code snipetts in standard PHP colours
Date: Thu, 9 Dec 2004 21:36:10 +0800
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-OriginalArrivalTime: 09 Dec 2004 13:37:02.0025 (UTC)
FILETIME=[2A09A390:01C4DD
"\n ",
' '
),
$highlighted
) . '';
if ($return) { return $highlighted; }
else { echo $highlighted; }
}
This is how they called that function:
highlight_php(join("", file($page_name)));
Original Message-
From: R
Hi all,
What is the easiest way to get a web page to list source code with standard
colour high-lighting (as used in my php_manual_el.CHM file and as you see
on various php web pages about the place).
Is there a class or a function or something that anyone knows of?
Thanks ... Ross
.
. Ross Honn