do php scripts have to be in the cgi-bin?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brizzad
    holla
    • Jul 2003
    • 11769

    #1

    do php scripts have to be in the cgi-bin?

    Do php scripts have to be in the cgi-bin to be hahahahahahahad?
  • VideoVoyeur
    So Fucking Banned
    • Jun 2003
    • 2181

    #2
    No, php does not use Perl to run, totally different scripting languages.

    Comment

    • Thong Sniper
      Confirmed User
      • Mar 2004
      • 1319

      #3
      no suh
      <vb>signature</vb>

      Comment

      • cluck
        Confirmed User
        • Dec 2002
        • 5248

        #4
        Depends on the system but most of the time they're all set to hahahahahahaha with the php interpreter.
        icq 279990726
        www.mcdonalds.com <- great money making opportunity

        Comment

        • Gasper

          #5
          no

          Comment

          • Corleone
            C.R.E.A.M
            • Apr 2003
            • 15262

            #6
            no ... .php can be in any folder

            Comment

            • Jer
              God is Brazilian
              • Feb 2001
              • 10601

              #7
              Yes

              Comment

              • Jace
                FBOP Class Of 2013
                • Jan 2004
                • 35562

                #8
                if they did, why do you think a lot of sites use http://www.site.com/index.php ?

                Comment

                • Libertine
                  sex dwarf
                  • May 2002
                  • 17860

                  #9
                  Originally posted by VideoVoyeur
                  No, php does not use Perl to run, totally different scripting languages.


                  CGI has very little to do with a specific scripting language, it's the standard for interfacing external apps with information servers. CGI can be used with scripting languages like Perl, TCL, a Unix shell or PHP, but also with programming languages like C/C++, Fortran, etc etc.


                  As for if PHP needs to be in the cgi-bin, it depends, like cluck said. If PHP is installed as a module for your server, you can normally speaking run it anywhere. If PHP is installed as a CGI program, you'll generally need to run it in your cgi-bin. The latter is pretty rare though.
                  /(bb|[^b]{2})/

                  Comment

                  Working...