Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-12-09, 11:44 PM   #1
Beaver Bob
Porn Blog Addict
 
Beaver Bob's Avatar
 
Join Date: Oct 2005
Location: Las Vegas, Nevada
Posts: 715
Send a message via ICQ to Beaver Bob
you can run php pages as .html by adding this line to you .htaccess or apache config.

PHP Code:
AddType application/x-httpd-php .php .html 
Beaver Bob is offline   Reply With Quote
Old 2007-12-10, 08:37 AM   #2
ponygirl
on vacation
 
ponygirl's Avatar
 
Join Date: Sep 2004
Posts: 2,095
Send a message via ICQ to ponygirl
Quote:
Originally Posted by Beaver Bob View Post
you can run php pages as .html by adding this line to you .htaccess or apache config.

PHP Code:
AddType application/x-httpd-php .php .html 
so that would allow me to run php script on an html page, right?

What if I had a script that generates the page as .php and I can't change that (or at least can't figure out how I could lol)
ponygirl is offline   Reply With Quote
Old 2007-12-10, 08:54 AM   #3
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by ponygirl View Post
so that would allow me to run php script on an html page, right?

What if I had a script that generates the page as .php and I can't change that (or at least can't figure out how I could lol)
Are you saying that it creates a .php page? If so, you could search the script for 'php' and eventually you'll discover where it applies the extension. It may even be in the config file.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:29 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc