Hi,
I am using wget on php pages to mirror dynamic mysql/php pages from a staging
server to a non-dynamic production server.
Ie:
Staging Server A = Dynamic php/mysql
Production Server B = Flat rendered HTML in the form of *.php
There are some includes that i wish to remain dynamic - can you skip certain
includes - so these still get processed by the server on the mirrored site
whilst flattening the rest of the original dynamic content?
Ie.
Server A
SomePage.php
//begin
page
<?php
include("1.php");
include("2.php"); <- i dont want this flattened i want it processed
on prod Server B
include("3.php");
php?>
//end page
Server B
SomePage.php
//begin page
<html><body> <- this came from include("1.php");
<?php
include("2.php");
php?>
</body></html> <- this came from include("3.php");
//end page
Cheers,
Wayne
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping