At 02:49 23/01/2003 +0000, you wrote:
You can't , at least not when its been run through the PHP parser, since of course you get HTML not PHP tags in the output.Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "Ha Duy Thien" <[EMAIL PROTECTED]> Date: Thu, 23 Jan 2003 10:37:23 +0900 Subject: How to extract PHP code from php pagesHi everyone
If you want to view your PHP pages *as* HTML, save them *additionally* as .phps :
.phps is recognised by the PHP parser as asking for the source code, neatly formatted with colour coding for tags, functions and the like.
If you want to copy somebody elses page by accesing the raw PHP then you're out of luck - PHP doesnt work like that.Could you show me how to extract php code (in <?php ?>) from a php pages mixed with HTML
Cheers
Neil Smith.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php