php-windows Digest 2 Dec 2004 04:31:59 -0000 Issue 2492

Topics (messages 25103 through 25106):

Re: Strange internet problem
        25103 by: Gryffyn, Trevor
        25104 by: Charles P. Killmer

filectime problems
        25105 by: Kevin Glick

new mysql.dll for php...
        25106 by: phpWalter

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
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:[EMAIL PROTECTED] 
> Sent: Wednesday, December 01, 2004 10:53 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] 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
>  
> 

--- End Message ---
--- Begin Message ---
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:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 10:03 AM
To: [EMAIL PROTECTED]
Cc: Charles P. Killmer
Subject: RE: [PHP-WIN] 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:[EMAIL PROTECTED]
> Sent: Wednesday, December 01, 2004 10:53 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] 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
>  
> 

--- End Message ---
--- Begin Message ---
I'm running PHP 5.0.2 on IIS 6/Windows Server 2003.  Below is a snippet of
the code from a script that looks into the "news" directory for files
ending in .txt.  After it finds the files, I want to get the creation time
of each file.  The script finds all the files (in this case "blah.txt",
but filectime gives me an error:

"Warning: filectime() [function.filectime]: stat failed for blah.txt
in..."

(snip)...
$dir = "../news/";
$dh = opendir($dir);
while (($filename = readdir($dh)) !== false) {
        if (strpos($filename, ".txt")) {
                $time = filectime($filename);
...

Any ideas why?  The user that the webserver runs as, has full permissions
to the "news" directory, and all the files in it.

Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Has anyone compiled the new DLL[s] for MySQL 4.1.7 and PHP 4.x?

Seems they changed the password encryption method and the current DDLs
don't work with new MySQL.

If so, can you post a link so I can pull them down?

Thanks

Walter

--- End Message ---

Reply via email to