Jump to content

Archived

This topic is now archived and is closed to further replies.

albinoazn

Putting PHP on a page

Recommended Posts

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

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.