Re: Problem with last modified dates...

From: Date: Wed, 21 Jun 2000 00:05:09 +0000
Subject: Re: Problem with last modified dates...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-2405@lists.php.net to get a copy of this message
On Tue, Jun 20, 2000 at 06:54:57PM -0500, Jay Paulson wrote: > Our company's intranet site has an error in the footer PHP code that causes > the Last modified date to show up as 1 January 1970, 12:00am GMT. The file > is included in nearly all of the 40-50 files in the site, which means the > files are all having the problem! The person who wrote the code parsed out > the URL to make all parts of the path clickable and then used that parsed > path as the path to the file. This works most of the time, but the problem > occurs when > > * The URL is only to the directory (ex. > http://intranet.viatel.com/) > * The URL has get parameters (ex. > http://intranet.viatel.com/index.php3?t=42) What? I just read this twice and I'm not sure what 'Last modified date' has to do with any of it. You'll have to give use some more info, and probably a snippet of the code that is doing the parsing. -- Chris Moyer -- cmoyer@chekinc.com -- PHP Developer -- Chek.com

« previous php.general (#2405) next »