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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]