Posted by Toby Inkster on 11/06/05 12:27
brucie wrote:
> host runs php as a cgi so the giggly phps thingy doesn't work and i'm too
> lazy to write <? highlight_file('flowers'); ?> shit!
My standard bit to copy and paste at the start of any example PHP files:
if ($_GET['source'])
{
highlight_file($_SERVER['SCRIPT_FILENAME']);
exit;
}
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|