Hi all,
On some of my links, I want to display the code/html code of the currently viewed page, much like php.net has in the upper right corner of their web pages.
I'm using the exec("cat mypage.php", $output, $return); command and it works great execept for the fact that all html gets parsed and you can't see the code!
For example: I see red text saying, "This is the code". When I really want to display "<font face=red>This is the code</font>" on the screen.
What 'mode' do I have to be in to accurately display all the code just like I see it in my vi text editor?
Thanks,
Jim