Page 1 of 1

Redirect URL

Posted: Thu Nov 18, 2004 4:16 am
by murthy
Hi,

I am "header()" function .In the case of redirecting of One SITE1 to other SITE2.

i need to know URL of the SITE1 in redirecting site SITE2.

i.e i have to know all site URL's of redirecting to my site.

Thanks,
Murthy

Posted: Thu Nov 18, 2004 5:04 am
by timvw
instead of redirecting to $url2 -> redirect to $url2?url1=$url1

but evil people can and will exploit this.

Posted: Thu Nov 18, 2004 8:24 am
by kettle_drum
Or on the second site just check what the http_referer was.

Posted: Thu Nov 18, 2004 1:17 pm
by peni
On the third hand evil people will know how to manipulate this, too :)