Hi!


I just want to get the URL of the page that is
redirecting to the other page.
For example..

I  have two files 
login.php
something.php


Something.php has a line saying:

<?php

header ("Location: ./login.php");

?>


So When I open Something.php it automatically takes me
to login.php. On the login.php page I have the
following lines....

<?php

echo $HTTP_REFERER;

?>


It doesn't seem to work. I think the problem is
because I don't click and go to something.php. I am
getting redirected to the file./ SO is there nay other
way I can get the URL of the file Which is
redirecting.


Thanx a lot

Cheers!~
Dhaval Desai

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

-- 
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]

Reply via email to