Re: PATH_INFO in CGI Mode
| From: | Analysis & Solutions | Date: | Fri, 24 May 2002 19:45:15 +0000 |
| Subject: | Re: PATH_INFO in CGI Mode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99138@lists.php.net to get a copy of this message | ||
Mauricio:
On Fri, May 24, 2002 at 09:25:33AM -0500, Mauricio Cuenca wrote:
>
> I'm trying to work with the environment variable $PATH_INFO in a website
> that has PHP as CGI, not as an Apache module.
I find the following to provide consistent information between CGI and
Module modes:
*['PHP_SELF']
*['REQUEST_URI']
*['SCRIPT_NAME']
The * represents $_SERVER or $HTTP_SERVER_VARS.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409