How to: parse PHP code in .htm or .html files

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
rbsterli
-


Joined: 07 Jan 2005
Posts: 2

PostPosted: Sat Feb 04, 2006 12:57 am    Post subject: How to: parse PHP code in .htm or .html files Reply with quote

Does anyone know how or where to configure Abyss to do this? I have a script to return the top 10 referrers but my main page must either be PHP or the server needs to be configured to parse PHP code within html files.

Any suggestions?? Thanks in advance.


Regards,
Rich Sterling
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Sat Feb 04, 2006 1:12 am    Post subject: Reply with quote

Just add .htm and .html to the file types that are processed with PHP, in the same way you set up the .php file extension in the Abyss console.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
rbsterli
-


Joined: 07 Jan 2005
Posts: 2

PostPosted: Sat Feb 04, 2006 2:04 am    Post subject: Reply with quote

Got it. Thanks! Works like a charm. :)
Back to top View user's profile Send private message
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Sat Feb 04, 2006 3:25 am    Post subject: Reply with quote

I take it from the above that you add .htm and .html to the "script path" under "scripting parameters", yes?
_________________
Cheers.... Kev

Kev's Place - http://www.kevsplace.com

Powered by Abyss X1.
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Feb 04, 2006 1:18 pm    Post subject: Reply with quote

kev1952 wrote:
I take it from the above that you add .htm and .html to the "script path" under "scripting parameters", yes?

This is done automatically if "Use the associated extensions to automatically update the Script Paths" is checked in your PHP interpreter declaration.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Sat Feb 04, 2006 4:40 pm    Post subject: Reply with quote

aprelium wrote:
This is done automatically if "Use the associated extensions to automatically update the Script Paths" is checked in your PHP interpreter declaration.
Thanks for that - I was wondering because it's always worked for me.
_________________
Cheers.... Kev

Kev's Place - http://www.kevsplace.com

Powered by Abyss X1.
Back to top View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group