Bug #8785 Updated: getlastmod returns 0 when run in NES in CGI mode
| From: | verrue dot jean-pierre at cimafap dot msa dot fr | Date: | Fri, 26 Oct 2001 07:51:04 +0000 |
| Subject: | Bug #8785 Updated: getlastmod returns 0 when run in NES in CGI mode | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69046@lists.php.net to get a copy of this message | ||
ID: 8785
User updated by: verrue.jean-pierre@cimafap.msa.fr
Reported By: verrue.jean-pierre@cimafap.msa.fr
Old Status: Feedback
Status: Open
Bug Type: Filesystem function related
Operating System: AIX 4.3.2
PHP Version: 4.0.4
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2001-10-20 21:07:27] 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-01-18 11:14:59] verrue.jean-pierre@cimafap.msa.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 ?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=8785&edit=1