php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: verrue dot jean-pierre at cimafap dot msa dot fr
New email:
PHP Version: OS:

 

 [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 ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 21:07 UTC] sniper@php.net
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 ?

--Jani

 [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
while
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] lobbin@php.net
Can you test behaviour with PHP 4.1.1?
 [2002-01-30 03:14 UTC] lobbin@php.net
No feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC