Quote:
Originally posted by 4Pics
Maybe you didn't know but you can configure apache to parse php/cgi/perl/whatever as any extension you want.
You can't parse both php and cgi on the same extension though.
I dont understand what you mean though to save the file as php then include another php file in it. I dont want to manually add to the file since I want to do it hourly and to edit 50 pages would not be fun that often.
|
Of course you can configure apache to parse any extension, but I was talking about defaults here.
As for the rest..If I'm correct you are using a script that creates & writes static pages periodically. And have another .php script which needs to run whenever that static pages called.
As you have access to apache & configure php to parse .html, put that in your generated .html pages as text while creating them.
< ? php include("myscript.html"); ? >
or am I missing something here?