SHTML anyone ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Due
    Confirmed User
    • Mar 2001
    • 3620

    #1

    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
  • wizzart
    scriptmaster
    • May 2006
    • 5246

    #2
    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" -->
    BimboZone

    Comment

    • sandman!
      Icq: 14420613
      • Mar 2001
      • 15431

      #3
      been awhile for me also
      Need WebHosting ? Email me for some great deals [email protected]

      Comment

      • RBJason
        Registered User
        • Aug 2012
        • 63

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

        Comment

        • RyuLion
          • Mar 2003
          • 32369

          #5
          Not good, it should be replaced with php..

          Adult Biz Consultant A tech head since 1995
          Affiliate Support: Chaturbate | CCBill Live

          Comment

          • blackmonsters
            Making PHP work
            • Nov 2002
            • 20984

            #6
            Originally posted by Due
            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.
            Your neighbor will murder you with frogs
            Click here

            Comment

            • blackmonsters
              Making PHP work
              • Nov 2002
              • 20984

              #7
              Originally posted by RyuLion
              Not good, it should be replaced with php..
              Please list 3 or more reasons why?

              Thanks
              Your neighbor will murder you with frogs
              Click here

              Comment

              • blackmonsters
                Making PHP work
                • Nov 2002
                • 20984

                #8
                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, 07:32 AM.
                Your neighbor will murder you with frogs
                Click here

                Comment

                • Barry-xlovecam
                  It's 42
                  • Jun 2010
                  • 18083

                  #9
                  Originally posted by blackmonsters



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

                  Comment

                  • blackmonsters
                    Making PHP work
                    • Nov 2002
                    • 20984

                    #10
                    Originally posted by Barry-xlovecam
                    Oh noes!!!

                    http://blackmonsters.com/categories.fuck


                    Your neighbor will murder you with frogs
                    Click here

                    Comment

                    • InfoGuy
                      80/20 Rule
                      • Apr 2010
                      • 3052

                      #11
                      People still use file extensions?
                      Support American Heroes | How Bad is My Batch? | Vaccine Deaths & Adverse Reactions | Free Speech Coalition | <WARNING> ePayService / Guerra Capital, INC / MTACC payments | Flirt4Free Fucks their Affiliates | Don't do business with piece of shit Andy Alvarez from Webmaster Central / VR3000, who said:
                      "If it was up to me, they would have shot all 30,000 of those country loving shitheads"

                      Comment

                      • SmutGiant
                        Confirmed User
                        • Oct 2003
                        • 4896

                        #12
                        Originally posted by Due
                        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

                        Comment

                        Working...