View Single Post
Old 08-04-2003, 02:21 AM  
Arty
Confirmed User
 
Join Date: Nov 2002
Posts: 880
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?

Last edited by Arty; 08-04-2003 at 02:29 AM..
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote