Bug #8785 Updated: getlastmod returns 0 when run in NES in CGI mode
| From: | lobbin@php.net | Date: | Wed, 30 Jan 2002 08:14:39 +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-78515@lists.php.net to get a copy of this message | ||
ID: 8785
Updated by: lobbin
Reported By: verrue.jean-pierre@cimafap.msa.fr
Old Status: Feedback
Status: No Feedback
Bug Type: Filesystem function related
Operating System: AIX 4.3.2
PHP Version: 4.0.4
New Comment:
No feedback.
Previous Comments:
------------------------------------------------------------------------
[2002-01-07 10:17:48] lobbin@php.net
Can you test behaviour with PHP 4.1.1?
------------------------------------------------------------------------
[2001-10-26 03:51:04] verrue.jean-pierre@cimafap.msa.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
------------------------------------------------------------------------
[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