Posted by Brad Brevet on 04/08/05 23:03
This seems to be what I was looking for, but I am curious, will the "/" be
included in the variable? Will I have to do a stripslashes() command on it?
Brad
"Hans Juergen von Lengerke" <lengerkeh@sixt.de> wrote in message
news:Pine.LNX.4.58.0504081630480.6751@windsor.sixt.de...
> > Brad Brevet:
> >
> > Hi, I am curious how to pass a variable without using something like
id=321.
> >
> > I have seen sites that have something like
> > http://www.website.com/something/321 and the variable is passed how
exactly
> > is that done? And is it called something specific so I know how to refer
to
> > it in the future?
>
> You can do that with $_SERVER["PATH_INFO"]. If your script
> is /something, this variable will be set to /321
[Back to original message]
|