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. 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)) 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
Archived
This topic is now archived and is closed to further replies.