> > 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
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
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:
>
>
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.)
4 matches
Mail list logo