Re: How to extract PHP code from php pages

From: Date: Thu, 23 Jan 2003 11:51:43 +0000
Subject: Re: How to extract PHP code from php pages
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18044@lists.php.net to get a copy of this message
At 02:49 23/01/2003 +0000, you wrote:
Message-ID: <20030123013731.54360.qmail@pb1.pair.com> To: php-windows@lists.php.net From: "Ha Duy Thien" <thien@joins.com> Date: Thu, 23 Jan 2003 10:37:23 +0900 Subject: How to extract PHP code from php pages Hi everyone
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. 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.
Could you show me how to extract php code (in <?php ?>) from a php pages mixed with HTML
If you want to copy somebody elses page by accesing the raw PHP then you're out of luck - PHP doesnt work like that. Cheers Neil Smith.

« previous php.windows (#18044) next »