From: [EMAIL PROTECTED]
Operating system: win98
PHP version: 4.0.6
PHP Bug Type: Filesystem function related
Bug description: scope of opened files
Look at the following script-file:
<html><body>
<?php
$fp1=fopen("project1.txt", "r");
fpassthru($fp1);
?>
<br>
some text
<br>
<?php
fpassthru($fp1);
?>
</body></html>
You should get twice the content op project1.txt, seperated by "some text",
but I get this:
contents of project1.txt
some text
Warning: 1 is not a valid File-Handle resource in
e:\documenten\scripts\test area\project11.php on line 10
--
Edit bug report at: http://bugs.php.net/?id=12801&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]