flaab Posted September 14, 2007 Share Posted September 14, 2007 Hi there :-) I would lilke to display Php code on my website for learning purposes, without being interpreted by the web server. Just displayed. Highlighter would be better. How can I do it? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/69317-displaying-php-code-on-website-for-learning-purposes/ Share on other sites More sharing options...
MadTechie Posted September 14, 2007 Share Posted September 14, 2007 save the file as a copy as .phps or maybe use htmlentities(readfile($file)) Quote Link to comment https://forums.phpfreaks.com/topic/69317-displaying-php-code-on-website-for-learning-purposes/#findComment-348314 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.