|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8785 getlastmod returns 0 when run in NES in CGI mode
Submitted: 2001-01-18 11:14 UTC Modified: 2002-01-30 03:14 UTC
From: verrue dot jean-pierre at cimafap dot msa dot fr Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.0.4 OS: AIX 4.3.2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2001-01-18 11:14 UTC] verrue dot jean-pierre at cimafap dot msa dot fr
The PHP function getlastmod always return 0 when I use it with PHP cgi
4.0.4 and Netscape E.S. 3.51. When I run the same script (with the same
PHP of course) starting from Shell, not from N.E.S., all is well.

Ideas ?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 21:07 UTC]
It shouldn't matter if the same binary is run from command
line or by webserver. Or did you mean that it doesn't 
work with the PHP compiled as NSAPI module ?

And does this happen with PHP 4.0.6 ?


 [2001-10-26 03:51 UTC] verrue dot jean-pierre at cimafap dot msa dot fr
whether, It should matter.
when php binary run from command line. the 'file.php' is already open
when php binary run from web server as cgi interpreter (from NES, now iplanet)
the 'file.php' was not opened and php don't walk the same branch of code

see my other bug report #8782

Sorry I don't test with php 4.0.6

 [2002-01-07 10:17 UTC]
Can you test behaviour with PHP 4.1.1?
 [2002-01-30 03:14 UTC]
No feedback.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jan 23 17:01:23 2021 UTC