|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Determine domain from which redirection occurs
I have a few domains which are either domain masked or forwarded to my site. eg.
www.domain1.com (masked) -> www.mysite.com/process.php www.domain2.com (forwarded/redirected) -> www.mysite.com/process.php Is there any function which can be used in process.php to determine from which domain the script is being invoked? Thanks, Nilesh |
|
#2
|
|||
|
|||
|
Probably the referrer, but you'll have to test yourself which of your setups works with it:
PHP Code:
hth, ...M
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Determine domain from which redirection occurs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|