Thanks Tim and Daniel.
$PATH_INFO works perfectly. The really nice thing is I can have a form post
to it... Also good call with the base href. I would probably have forgotten
it and just used absolute links.
-Evan Nemerson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
I play with this lots, good fun..
Path:
the title of the page will contain the path you typed..
Twigman...
On 2001.08.08 23:13 Evan Nemerson wrote:
> I seem to recall that you can call a PHP script with a slash after it
> then
> variables. For instance http://localhost/script.ph
It works pretty much as you described. :)
Make a script like that and run phpinfo() from it and you'll see all the
variations on $PHP_SELF and $HTTP_SERVER_VARS[] that allow you to
retrieve the extra parameters from the URL.
Note that if your page displays images, you'll need to include a tag t
I think you think to the GET method :
http://www.mysite.com/script.php?your=mom
At 06:13 08/08/01 -0700, Evan Nemerson wrote:
>I seem to recall that you can call a PHP script with a slash after it then
>variables. For instance http://localhost/script.php/your=mom. I can't find it
>in the manual
I seem to recall that you can call a PHP script with a slash after it then
variables. For instance http://localhost/script.php/your=mom. I can't find it
in the manual, and was wondering if anyone knows how it works.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
5 matches
Mail list logo