Forum Moderators: coopster
is it possible to open in a php/asp/jsp etc.. script a page which is redirected?
in other words: can I protect my content with the following url: www.example.com/redirect.php?id=1,
so that no one will be able to get the content with the file_get_contents() function?
I've tested it and it seems to be fine: can not fetch the final destination.
So, please let me know if there's a way to overcome this.
Thanks.
and he is trying to redirect users to that page.html page using header or javascript redirection in the redirect.php script
so id=1 will redirect to page.html, id=2 may redirecr to nextpage.html
and if this is the case, then you should probably use javascript redirect on the redirect.php page, because it's possible to follow the header redirects.