#23237 [Opn->Bgs]: failed to open stream
| From: | sniper@php.net | Date: | Mon, 21 Apr 2003 17:36:03 +0000 |
| Subject: | #23237 [Opn->Bgs]: failed to open stream | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37998@lists.php.net to get a copy of this message | ||
ID: 23237
Updated by: sniper@php.net
Reported By: paul dot d dot rowlands at delphi dot com
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: win 2000
PHP Version: 4.3.2RC1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2003-04-16 02:48:11] paul dot d dot rowlands at delphi dot com
ERROR.LOG
[16-Apr-2003 07:57:35] PHP Warning: file (d:/temp/ht2/160403.ht2) [<a
href='http://www.php.net/function.file'>function.file</a>]:
failed to
open stream: Permission denied in d:\Apache
Group\Apache2\htdocs\fa_tools_ht.php on line 110
TIME FILES filesize() FILE()
07:57:09 d:/temp/ht1/160403.ht1 31818 458
07:57:09 d:/temp/ht2/160403.ht2 26656 384
07:57:34 d:/temp/ht1/160403.ht1 31887 459
07:57:34 d:/temp/ht2/160403.ht2 26725 1
07:57:43 d:/temp/ht1/160403.ht1 31887 459
07:57:43 d:/temp/ht2/160403.ht2 26725 385
CODE
$file1="d:/temp/ht1/$date_str.ht1";
$file2="d:/temp/ht2/$date_str.ht2";
$size_file1=filesize($file1);
$file_array1=file($file1);
$size_file2=filesize($file2);
$file_array2=file($file2);
FILE() returns 1. Why is this so ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23237&edit=1