Wayne Connolly wrote:
Micah,
Thanks mate- i know we chatted on IRC but just thought someone else may
be able to provide some insight.
Cheers and thanks,
Wayne
Well It's just impossible over wget to do this, because wget only get's
the output a client will get on visiting you page with no
Wayne Connolly wrote:
Thanks mate- i know we chatted on IRC but just thought someone
else may be able to provide some insight.
OK. Here's some insight: wget is essentially a web browser. If the URL
starts with http, then wget sees the exact same content as Internet
Explorer, Firefox,
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
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?
Hi Wayne,
As I've already mentioned on IRC, this question really has
:21:48 PM
Subject: Re: Skip certain includes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wayne Connolly wrote:
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