Hi, I'm currently looking at Bug #16630, "getlastmod() returns file access time, not modification time" .. and it came it to my attention that the getlastmod() uses php_statpage which in turn uses the current SAPI for getting information about the currently running script. Is there any special reason for using the information provided by the SAPI instead of doing a 'regular' php_stat (like filemtime etc)?
When using the cli or cgi binaries from command line, this command also fails (returns false), probably because path_translated isnt set. Is this a documentation issue (maybe it should be noted that its just meant for pages served through a webserver) or should this be considered a bug? -- Mats Lindh - [EMAIL PROTECTED] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php