1. Suppose that I have a PHP page with code:
<?php echo "Hello World";?>
If I point my browser to this page, its work well. And if I point by
http://www.mydomain.com/?q=something
It will still work, BUT If I USE:
http://www.mydomain.com/?q=http://www.yahoo.com Then on some server it works and on some server I get Error: 403 Forbidden You don't have permission to access / on this server.
WHY this happened on some servers?
2. How can I handle in PHP if I pass parameter in the form:
http://www.mydomain.com/url/http://www.yahoo.com On some domains I have seen working in this way but I dont know how to handle it as server will look
for the directory "http://www.yahoo.com" and if no one then I will get 404 error....?