| Offline |
| Senior Member |
Joined: Fri Aug 20, 2010 3:12 am Posts: 68
|
|
|
hi
Let's say I have a web server (nginx) server.com where I have only one php file index.php (there is no directory structure). I want to be able to access anything after server.com. It will be an url structure. For example server.com/google.com, server.com/yahoo.com.au etc...
Q1: How can I access whatever is afer server.com in my index.php?
Q2: Can I even get protocol from such url? For example server.com/http://www.google.com or server.com/https://www.google.com
any ideas?
Thank you
R
|
|