Thanks George,... we are considering issues you've noted below, and are looking into that too.

Basically we want to take the PHP file as it would be displayed in the browser and convert it to a plain static HTML file. It maybe a waste of time tho.

Thx's for the info

--
Mike<mickalo>Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Web Hosting
http://www.justlightening.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

>> George Schlossnagle wrote:

On Tuesday, September 16, 2003, at 01:07 PM, Mike Blezien wrote:


Hello all,

is the a module or scripting method, in Perl, to strip a PHP file of it's coding and convert it to a pure static HTML file??


A simple substitution like

s/<\?php.*??\?>//gs

should do the trick, but I am skeptical that stripping all PHP from the page is what you really want to do. Most PHP pages have some looping or conditional logic in them which will likely make things look different than you expect.

george



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to