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)
-   -   do php scripts have to be in the cgi-bin? (https://gfy.com/showthread.php?t=279530)

brizzad 05-04-2004 10:41 AM

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

VideoVoyeur 05-04-2004 10:43 AM

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

Thong Sniper 05-04-2004 10:44 AM

no suh:thumbsup

cluck 05-04-2004 10:44 AM

Depends on the system but most of the time they're all set to hahahahahahaha with the php interpreter.

Gasper 05-04-2004 10:59 AM

no

Corleone 05-04-2004 11:00 AM

no ... .php can be in any folder

Jer 05-04-2004 11:01 AM

Yes :winkwink:

Jace 05-04-2004 11:07 AM

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

Libertine 05-04-2004 12:10 PM

Quote:

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

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.


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

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