Re: [PHP-WEBMASTER] Show Source QUESTION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 10, 2009 at 02:47, David Lee<subless@xxxxxxxxx> 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.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux