GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   SHTML anyone ? (https://gfy.com/showthread.php?t=1130405)

Due 01-06-2014 09:00 PM

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 :1orglaugh

wizzart 01-07-2014 12:34 AM

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" -->


sandman! 01-07-2014 01:30 AM

been awhile for me also :1orglaugh:1orglaugh

RBJason 01-07-2014 04:51 AM

hahah yeah that's very 1998
I don't remember the last time I used it, but probably pre 2000

RyuLion 01-07-2014 04:53 AM

Not good, it should be replaced with php..

blackmonsters 01-07-2014 09:26 AM

Quote:

Originally Posted by Due (Post 19935920)
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 :1orglaugh

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 01-07-2014 09:28 AM

Quote:

Originally Posted by RyuLion (Post 19936202)
Not good, it should be replaced with php..

Please list 3 or more reasons why?

Thanks

blackmonsters 01-07-2014 09:31 AM

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.

Barry-xlovecam 01-07-2014 09:35 AM

Quote:

Originally Posted by blackmonsters (Post 19936485)



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!!!:1orglaugh

blackmonsters 01-07-2014 09:38 AM

Quote:

Originally Posted by Barry-xlovecam (Post 19936498)
Oh noes!!!:1orglaugh


http://blackmonsters.com/categories.fuck


:1orglaugh

InfoGuy 01-08-2014 12:04 AM

People still use file extensions?

SmutGiant 01-08-2014 12:51 AM

Quote:

Originally Posted by Due (Post 19935920)
made me feel like I was 15 years younger than I am :1orglaugh

I felt the same way after starting to use cPanel again after about 11 years :1orglaugh


All times are GMT -7. The time now is 05:10 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123