|
Posted by shror on 01/24/08 13:16
Hi Everybody,
I have a small question about URL cloaking, am working on an idea of
creating URL cloaking system, this is that my users can get cloaked
URLs for their long URLs in other words, if you have URL like this:
http://www.yourdomain.com/folder1/folder2/page.extension?gshagaoj=dsfd+dfs
this link after cloaking may look like this: http://www.mydomain.com/page.htm
for example
I read on somewhere that this could be used using:
<?php
header("Location:http://www.yourdomain.com/page.extension?sdfs
+sdf=he3");
exit();
?>
but this URL code on one of my pages takes me to the location
specified in the code, and in the address bar the url found is
http://www.yourdomain.com/page.extension?sdfs+sdf=he3 not my own URL
hiding the other location (your URL)
Please help me how this works if anyone know
Thanks in advance
shror
Navigation:
[Reply to this message]
|