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: > >

[PHP] Submitting variables via /'s

2001-10-05 Thread Ashley M. Kirchner
I've seen documentation on this somewhere, but now I can't remember where. I want to move away from file.php?var1=1&var2=2&var3=3 ...and go to file.php/1/2/3 ...and still be able to do what I need to be done (extract the variables and use them as I need them.)