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 01-06-2014, 09:00 PM   #1
Due
Confirmed User
 
Due's Avatar
 
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
SHTML anyone ?

Is this still used ? I had completely forgotten it existed.
I just found it in cpanel, seeing the tag instantly made me feel like I was 15 years younger than I am
__________________
I buy plugs
Skype: Due_Global
/Due
Due is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 12:34 AM   #2
wizzart
scriptmaster
 
wizzart's Avatar
 
Industry Role:
Join Date: May 2006
Location: Serbia
Posts: 5,237
Can be useful for error pages:

Code:
<!--#echo var="HTTP_REFERER" -->
<!--#echo var="REMOTE_ADDR" -->
<!--#echo var="REQUEST_URI" -->
<!--#echo var="HTTP_HOST" -->
<!--#echo var="HTTP_USER_AGENT" -->
<!--#echo var="REDIRECT_STATUS" -->
wizzart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 01:30 AM   #3
sandman!
Icq: 14420613
 
sandman!'s Avatar
 
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,431
been awhile for me also
__________________
Need WebHosting ? Email me for some great deals [email protected]
sandman! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 04:51 AM   #4
RBJason
Registered User
 
Industry Role:
Join Date: Aug 2012
Posts: 63
hahah yeah that's very 1998
I don't remember the last time I used it, but probably pre 2000
__________________
RBJason is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 04:53 AM   #5
RyuLion
 
RyuLion's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,307
Not good, it should be replaced with php..
__________________

Adult Biz Consultant A tech head since 1995
See you at AVN 2026
RyuLion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 09:26 AM   #6
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,765
Quote:
Originally Posted by Due View Post
Is this still used ? I had completely forgotten it existed.
I just found it in cpanel, seeing the tag instantly made me feel like I was 15 years younger than I am
The only reason the shtml exist is so that a server can be set up to only scan for server side includes on shtml pages. This saves resources from scanning every html page for SSI.

It's still being used but this is the difference :

AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes


The htaccess code above it how you set up normal shtml

People just do it this way now more often :

AddHandler server-parsed .html
Options Indexes FollowSymLinks Includes


The above code does the same thing but now you don't use any .shtml files.

Nothing has changed.

An SSI(shtml) include is just the same as any php include, except php is slower than any other code used for an include.

So using shtml may be out of style with the chic URL crew but it saves resources and google likes it just fine.
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 09:28 AM   #7
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,765
Quote:
Originally Posted by RyuLion View Post
Not good, it should be replaced with php..
Please list 3 or more reasons why?

Thanks
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 09:31 AM   #8
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,765
Also,

This :

AddType text/html .shtml
AddHandler server-parsed .shtml



Could also be this :

AddType text/html .fuck
AddHandler server-parsed .fuck


or this : (after turning php off)

AddType text/html .php
AddHandler server-parsed .php



They all do the same thing.

Last edited by blackmonsters; 01-07-2014 at 09:32 AM..
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 09:35 AM   #9
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Quote:
Originally Posted by blackmonsters View Post



Nothing has changed.

An SSI(shtml) include is just the same as any php include, except php is slower than any other code used for an include.

So using shtml may be out of style with the chic URL crew but it saves resources and google likes it just fine.
Oh noes!!!
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2014, 09:38 AM   #10
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,765
Quote:
Originally Posted by Barry-xlovecam View Post
Oh noes!!!

http://blackmonsters.com/categories.fuck


blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2014, 12:04 AM   #11
InfoGuy
80/20 Rule
 
InfoGuy's Avatar
 
Industry Role:
Join Date: Apr 2010
Location: Los Angeles
Posts: 3,052
People still use file extensions?
InfoGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2014, 12:51 AM   #12
SmutGiant
Confirmed User
 
SmutGiant's Avatar
 
Join Date: Oct 2003
Posts: 4,895
Quote:
Originally Posted by Due View Post
made me feel like I was 15 years younger than I am
I felt the same way after starting to use cPanel again after about 11 years
SmutGiant 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.