Page 1 of 1

[SOLVED] how to diplay the php code of the page.

Posted: Mon Nov 08, 2004 6:03 pm
by dethron
hi everyone :)

i have a little memory loss here, and i forget how to display the code of any given page.

i know there was a function to do that, but i am not sure at this particular moment.

let me specify it, i want to display the original content to the client, i mean the content before PHP parsed them.

kind regards.

Posted: Mon Nov 08, 2004 6:09 pm
by kettle_drum
You can save the file as .phps if the server is configured to show source that way or you can use highlight_file();

Posted: Mon Nov 08, 2004 6:10 pm
by dethron
yes thank you ;)