View Single Post
Old 05-19-2004, 02:36 PM  
danevans
Confirmed User
 
Join Date: Jun 2001
Location: Europe
Posts: 1,295
PHP help needed, lots of pages need same type of change..

I've got about 90 freesites consisting of the following files: logo.html (logo on top and some text below),
style.css - page, font, link properties
and a few generic pages which are the same in all sites (preview.html with a thumb layout, gallery1 and gallery2 with linking info and a few ad.html pages)
All these files are connected together with php include(pagename.html) functions, meaning that you access index.php, it pulls warning.html first inside, then pages such as preview and sponsor ad pages get pulled as user gets deeped inside.

I want to convert all those simple php sites into plain html sites.
is there a program or some way (except manual one by one) to batch process all php pages and save them with a .html extension and all contents viewable by surfer?
meaning that, instead of index.php with php include COMMAND for warning.html, I get an index.html with saved warning.html CONTENTS?

I am probably asking too much, but still - I'm a newbie in php and don't know much about other more powerful commands and tools.
__________________
Custom adult games / apps for your paysites.
webmaster at multimoodia.net
icq35291012

Last edited by danevans; 05-19-2004 at 02:38 PM..
danevans is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote