RE: Strange internet problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just got another message this weekend.  Here are some of the contents
of the phpinfo:

_SERVER["REMOTE_ADDR"] x.x.x.x
_SERVER["REMOTE_HOST"] x.x.x.x
_SERVER["REQUEST_METHOD"] GET 
_SERVER["SCRIPT_NAME"] /index.php3 
_SERVER["SERVER_NAME"] www.yahoo.com 
_SERVER["SERVER_PORT"] 80 


The client approached my webserver with www.yahoo.com in the host
header.  So this is a strange situation.  Anyone seen anything like this
before?

Charles

-----Original Message-----
From: Gryffyn, Trevor [mailto:TGryffyn@xxxxxxxxxxxxxxxxx] 
Sent: Wednesday, December 01, 2004 10:19 AM
To: Charles P. Killmer
Subject: RE:  Strange internet problem

Worth a shot.  I've been bit before by silly little things I've done in
my code to clean things up, only to find out that they were excluding
important information.   When in doubt, get a higher level view.

Good luck!

-Trevor

> -----Original Message-----
> From: Charles P. Killmer [mailto:charlesk@xxxxxxxxxxxxxxxxxxxxx]
> Sent: Wednesday, December 01, 2004 11:17 AM
> To: php-windows@xxxxxxxxxxxxx
> Subject: RE:  Strange internet problem
> 
> 
> I modified the email so I will now receive an email with the full 
> phpinfo.  I won't have an answer until it happens again though.  In 
> any case I am pulling the host header from $_SERVER["SERVER_NAME"];
> 
> Charles
> 
> -----Original Message-----
> From: Gryffyn, Trevor [mailto:TGryffyn@xxxxxxxxxxxxxxxxx]
> Sent: Wednesday, December 01, 2004 10:03 AM
> To: php-windows@xxxxxxxxxxxxx
> Cc: Charles P. Killmer
> Subject: RE:  Strange internet problem
> 
> Definitely strange.  Are you having it send you a copy of the header 
> information so you can verify that you're capturing the correct info 
> and you're not getting like a REFERRER type tag from someone clicking 
> on a link IN yahoo?
> 
> -TG
> 
> > -----Original Message-----
> > From: Charles P. Killmer [mailto:charlesk@xxxxxxxxxxxxxxxxxxxxx]
> > Sent: Wednesday, December 01, 2004 10:53 AM
> > To: php-windows@xxxxxxxxxxxxx
> > Subject:  Strange internet problem
> > 
> > 
> > This isn't related to php but there are many knowledgeable
> people here
> 
> > that I though might find this curious.
> >  
> > I host an IP based site.  Based on the host header that is
> sent to the
> 
> > site, I pull different content from a database.  When the
> host header
> > is not found in the database, I send an email to me telling me that 
> > someone tried to access a site for which we have no content.
> >  
> > Now for the weird part.  Once in a while I get a message from this 
> > site saying that www.yahoo.com has not been setup.  It
> seems as though
> 
> > someone has a host entry for www.yahoo.com that points to
> my IP.  Or
> > someone's browser is messing up the referrer and host
> header.  But if
> > that's the case they should not be able to get to and virtual site 
> > anywhere.
> >  
> > Has anyone heard of anything like this or is this something
> completely
> 
> > new?
> >  
> > Charles Killmer
> >  
> > 
> 
> --
> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: 
> http://www.php.net/unsub.php
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux