|
Posted by Rik on 05/16/06 04:17
Jerry Stuckle wrote:
> Or, if you want different options, create another virtual host for
> the other domain and point it at the same directory.
Which would give you a great oppertunity to use $_SERVER['SERVER_NAME']
http://nl2.php.net/manual/en/reserved.variables.php
'SERVER_NAME'
The name of the server host under which the current script is executing. If
the script is running on a virtual host, this will be the value defined for
that virtual host.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|