Pauly
February 17th, 2005, 02:24
Ok here's a tricky one for you all.
I have a .html page, and it will remain .html no possibility of changing it ok? Now, I have a PHP randomizing script and to include the .PHP script I want to use SSI.
The problem with this is, the PHP script doesn't run. I know there's a way to run a script before it's included (Or at least that's what i've been told), but have no clue how. Any ideas?
Note: There is a chance I'll use .htaccess to have the .html extension work as a .php extension, but I would rather run the script then have it included using SSI.
I have a .html page, and it will remain .html no possibility of changing it ok? Now, I have a PHP randomizing script and to include the .PHP script I want to use SSI.
The problem with this is, the PHP script doesn't run. I know there's a way to run a script before it's included (Or at least that's what i've been told), but have no clue how. Any ideas?
Note: There is a chance I'll use .htaccess to have the .html extension work as a .php extension, but I would rather run the script then have it included using SSI.