On Fri, Jul 10, 2009 at 02:47, David Lee<subl...@yahoo.com> wrote:
> I was wanting to have a page called source.php like you guys, and have it 
> display the source code for the pages, but I've looked at the source code for 
> you guys source.php page and I can't seem to make it work on my server.
>
> Like how do you make a page display another php page without it executing the 
> php scripts ?

    That's a better question for the PHP General list (CC'd in this
email) than the Webmaster list.  Feel free to subscribe there to get
help with PHP-related questions.

    In direct answer to your question, however, check the following functions:

    highlight_file() - http://php.net/highlight_file
    highlight_string() - http://php.net/highlight_string

-- 
</Daniel P. Brown>
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to