albinoazn Posted April 1, 2006 Share Posted April 1, 2006 how can i put php on a web page without the browser executing that php? I tried wrapping it in <textarea> but that didn't work. Sorry if this is in the wrong place. -Thank you, albinoAZN Link to comment https://forums.phpfreaks.com/topic/6359-putting-php-on-a-page/ Share on other sites More sharing options...
ToonMariner Posted April 1, 2006 Share Posted April 1, 2006 replace the < and > tags with ≶ and > Link to comment https://forums.phpfreaks.com/topic/6359-putting-php-on-a-page/#findComment-22980 Share on other sites More sharing options...
toplay Posted April 1, 2006 Share Posted April 1, 2006 Some servers are designated to where you can use the phps extension (i.e. filename.phps). Or try one of these functions:[a href=\"http://us2.php.net/manual/en/function.highlight-string.php\" target=\"_blank\"]http://us2.php.net/manual/en/function.highlight-string.php[/a][a href=\"http://us2.php.net/manual/en/function.highlight-file.php\" target=\"_blank\"]http://us2.php.net/manual/en/function.highlight-file.php[/a] Link to comment https://forums.phpfreaks.com/topic/6359-putting-php-on-a-page/#findComment-22983 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.