I want to echo back a URL or string that is entered after my domain root or sub folder.
Eg. User types mydomain.com/http://www.url.com
I want it to echo back anything that is entered after mydomain.com/ .. In this case "http://www.url.com"
I would need to capture to 404 Not Found somehow? I'm using shared hosting, so I don't know if this is even possible.
I could always query the script directly using
mydomain.com/index.php?url=http://www.url.com
..but, ideally, I would like the former.
Any pointers or ideas on how I could go about this?
Eg. User types mydomain.com/http://www.url.com
I want it to echo back anything that is entered after mydomain.com/ .. In this case "http://www.url.com"
I would need to capture to 404 Not Found somehow? I'm using shared hosting, so I don't know if this is even possible.
I could always query the script directly using
mydomain.com/index.php?url=http://www.url.com
..but, ideally, I would like the former.
Any pointers or ideas on how I could go about this?