Forum Moderators: DixonJones

Message Too Old, No Replies

Redirect specified by client

url redirect

         

iyibey

11:15 pm on Sep 29, 2006 (gmt 0)

10+ Year Member



Is there a code to create a page which redirects to ANY destination_url

1- user clicks [mydomain.com...]

2-the "page_with_script.php" redirects the user to ANY destination_url

How could that be accomplished I wonder.

PS: php or whatever language it can be.

jatar_k

3:20 pm on Oct 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld iyibey,

this is easy enough to do, are you lookig to track exit traffic?

the logical steps would be (using your url example)

grab the url from the GET param
log whatever it is your script needs to log
then send the user off with a header [php.net] call using the url from step one