Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] IP-Problem ! From: Colin Viebrock (cmv <email protected>)
Date: 07/04/98

Also sprach Oliver Roßbruch (at 12:13 PM 7/4/98 +0200) ...
>Hi,
>
>a friend of mine has three domain names (www.x.com, www.y.com and
>www.z.com) pointing on one IP- address with one
>virtual server running (www.x.com).
>
>So his Problem is to find out wich domain name a user has choosen in
>order to show him the right page.
>
>I found in the manual an example and changed it to:
>
<snip>
>
>Before I start using it I want to know whether it might work because the
>site is very busy and I am not allowed to keep it offline for a long
>time.

Well, firstly you're missing a couple of quotes in your if statements.

Second, why not just put the script on a test page and test it yourself?
You'll get an answer sooner than by posting here. And it will be a 100%
accurate answer!

.........................................................................
Colin Viebrock Creative Director - Private World Communciations
cmv <email protected> http://www.privateworld.com
ICQ: 11386088

                                                  85.7% of all statistics
                                                 are made up on the spot.

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive: http://www.tryc.on.ca/php3.html