Hi everybody,
I want to redirect my website to somewhere else. I know I can do this with header("location:....");
But now I want to try something else. I also want to fool around with the vars user-agent, referer, accept-language, etc... when I redirect my website to somewhere else. I think it's something with:
$com = "GET $file HTTP/1.1\r\nAccept: */*\r\nAccept-Language: de-ch\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)\r\nHost: $server:$port\r\nConnection: Keep-Alive\r\n\r\n";
but how can I redirect it using $com?
can someone help me understanding this stuff?
The One And Only KryptoS
I want to redirect my website to somewhere else. I know I can do this with header("location:....");
But now I want to try something else. I also want to fool around with the vars user-agent, referer, accept-language, etc... when I redirect my website to somewhere else. I think it's something with:
$com = "GET $file HTTP/1.1\r\nAccept: */*\r\nAccept-Language: de-ch\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)\r\nHost: $server:$port\r\nConnection: Keep-Alive\r\n\r\n";
but how can I redirect it using $com?
can someone help me understanding this stuff?
The One And Only KryptoS