Re: CGI

From: Date: Tue, 26 Feb 2002 14:48:53 +0000
Subject: Re: CGI
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86244@lists.php.net to get a copy of this message
in index.php, you can do: <? if (action=="cgi") header("Location: cgi-bin/cgiscripts/".$scripts); ?> or <? if (action=="cgi") echo ./cgi-bin/cgiscripts/${scripts} 2&>1; ?> Op dinsdag 26 februari 2002 15:30, schreef u: > Hey > > I have some cgi files who are in the /usr/lib/xxx/cgi-bin/ directory > How can i make them a part of my php meaning that in the current situation > the url is something like this > http://xxxxx.xxxxx.xxx/cgi-bin/cgiscripts/xxxx.cgi > and i want it to be something like this > http://xxxx.xxxx.xxxx/index.php?action=cgi&scripts=xxx.cgi > > Maybe a stupid question but .... > > > Kind regards > Sven Op dinsdag 26 februari 2002 15:30, schreef Sven Jacobs: > Hey > > I have some cgi files who are in the /usr/lib/xxx/cgi-bin/ directory > How can i make them a part of my php meaning that in the current situation > the url is something like this > http://xxxxx.xxxxx.xxx/cgi-bin/cgiscripts/xxxx.cgi > and i want it to be something like this > http://xxxx.xxxx.xxxx/index.php?action=cgi&scripts=xxx.cgi > > Maybe a stupid question but .... > > > Kind regards > Sven

« previous php.general (#86244) next »