|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
URI's
k i've got 2 seperate domains pointing to the same website, i want the browser to redirect depending on which domain the user types in..
i got this little snip of code from php.net which returns the URI, but it will only return the URI that my original account was setup with, the other domain pointing to the same server will return the original URI rather than its unique self. my question is how can i call the URI that is typed in the browser properly? |
|
#2
|
|||
|
|||
|
RE: URI's
it should be under HTTP_HOST ($HTTP_SERVER_VARS["HTTP_HOST"]).
if that doesn't work, try print_r($HTTP_SERVER_VARS) and find the one that you want |
|
#3
|
|||
|
|||
|
RE: URI's
thank you sir i'll try that
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > URI's |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|