Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-14-2004, 04:57 PM   #1
Theo
HAL 9000
 
Industry Role:
Join Date: May 2001
Posts: 34,515
simple PHP .shtml question

i cant remember how I can make a php file to appear as .html

i think we call it through .shtml and htaccess makes .shtml files appearing as html

but whats the process?

any help appreciated!
Theo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 05:01 PM   #2
jonnax
Confirmed User
 
Join Date: Feb 2001
Posts: 187
Put this line to your htaccess
AddType application/x-httpd-php .html

jonnax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 05:02 PM   #3
Theo
HAL 9000
 
Industry Role:
Join Date: May 2001
Posts: 34,515
Quote:
Originally posted by jonnax
Put this line to your htaccess
AddType application/x-httpd-php .html

thanks

i love you
Theo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 05:03 PM   #4
whee
Confirmed User
 
Join Date: Sep 2002
Location: http://www.nightstation.com
Posts: 1,375
Quote:
Originally posted by jonnax
Put this line to your htaccess
AddType application/x-httpd-php .html

... Will execute your html as it was php code.
Good little thing! ...
__________________
http://www.nightstation.com
whee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 08:33 PM   #5
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
nice, i didnt actually know that, very useful
Ash@phpFX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.