Re: how to know which web dir you're in
| From: | John Vanderbeck | Date: | Fri, 09 Feb 2001 15:42:16 +0000 |
| Subject: | Re: how to know which web dir you're in | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38962@lists.php.net to get a copy of this message | ||
Well... $PHPSELF gives the full url to the current webpage..so if you are
at:
http://gamedesign.incagold.com/index.php
then $PHPSELF = http://gamedesign.incagold.com/index.php
- John Vanderbeck
- Admin, GameDesign
----- Original Message -----
From: "Jason Jacobs" <jason@factory7.com>
To: <php-general@lists.php.net>
Sent: Friday, February 09, 2001 10:40 AM
Subject: [PHP] how to know which web dir you're in
> Anyone got any ideas on how to tell what the url you're at? One of my
sites
> is for a bank with a bunch of branches, and when people go to a site for a
> branch, I want the "prequalify for loan" to know where the person came
from
> (it's the same page for all branches, but it just has a select box) and
make
> the location they came from be the selected one when the prequal page
comes
> up. Whaddya think?
>
> Thanks.
> Jason
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>