I am very new to PHP, although I have been using ASP for a few years.
I use a product in ASP called ASPTear, it's a small dll that my
hosting company happens to have loaded.
Basically you can set up a function that you can pass an ASP page to
and it will read the ASP and write out an HTML file.
I use this to save load on the server and speed up my site, I have a
few include files that look up data and then present it, this data
does not change very often, so I run a routine called rebuildhtml.asp
that will call a few ASP files and create HTML versions.
I am now converting the site to PHP as I want to use mod_rewrite, what
I need is a routine that I can pass a php file to and end up with an
HTML version.
For example
rewrite(somefil e.php)
Will create somefile.html
I am sure this can't be too difficult, but as a newbie I cannot find
out how to do it.
Any help appriciated.
Dennis
I use a product in ASP called ASPTear, it's a small dll that my
hosting company happens to have loaded.
Basically you can set up a function that you can pass an ASP page to
and it will read the ASP and write out an HTML file.
I use this to save load on the server and speed up my site, I have a
few include files that look up data and then present it, this data
does not change very often, so I run a routine called rebuildhtml.asp
that will call a few ASP files and create HTML versions.
I am now converting the site to PHP as I want to use mod_rewrite, what
I need is a routine that I can pass a php file to and end up with an
HTML version.
For example
rewrite(somefil e.php)
Will create somefile.html
I am sure this can't be too difficult, but as a newbie I cannot find
out how to do it.
Any help appriciated.
Dennis
Comment