Re: [PHP] Submitting variables via /'s

2001-10-05 Thread Rasmus Lerdorf
> > Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though > > since Apache fills that in with the script it executes. Or you could > > simply look at $PATH_INFO and strip the contents of $PATH_INFO from the > > end of $PHP_SELF. > > Aha! Good. Now, does anyone have a li

Re: [PHP] Submitting variables via /'s

2001-10-05 Thread Ashley M. Kirchner
Rasmus Lerdorf wrote: > Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though > since Apache fills that in with the script it executes. Or you could > simply look at $PATH_INFO and strip the contents of $PATH_INFO from the > end of $PHP_SELF. Aha! Good. Now, does anyo

Re: [PHP] Submitting variables via /'s

2001-10-05 Thread Rasmus Lerdorf
Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though since Apache fills that in with the script it executes. Or you could simply look at $PATH_INFO and strip the contents of $PATH_INFO from the end of $PHP_SELF. -Rasmus On Fri, 5 Oct 2001, Ashley M. Kirchner wrote: > >