ID:               27695
 Updated by:       [EMAIL PROTECTED]
 Reported By:      grialet at dsi dot cnrs dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Windows XP
 PHP Version:      4.3.4
 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.

Use the binaries distributed by PHP, no unofficial release 

by a 3rd party. 


Previous Comments:
------------------------------------------------------------------------

[2004-03-25 10:09:32] grialet at dsi dot cnrs dot fr

Description:
------------
Hello,



I've just downloaded the last EasyPHP version (1.7) on the dedicated
site.

I have made no change in the install files, but i have a serious pb.

I wrote a simple php file that reads a text file (under the "www" php
directory) and displays its content.



When i make :

"if (file_exists ("toto.txt"))"

it returns true, but then when i make : 

"$f = fopen("toto.txt", "r")" 

i get the following fatal error :



Call to undefined function: fopen()



Looks like a big bug... pretty ennoying...

Could someone resolve it quickly ?



Stéphane

Reproduce code:
---------------
$nomFicConf = "config.txt";



if (file_exists($nomFicConf)) 

{

        $ficConf = fopen($nomFicConf,"r");

        

        while (!feof($ficConf)) 

        {

                $ligneFic = fgets($ficConf, 4096);



                .....

Expected result:
----------------
the display of the content of the file.

Actual result:
--------------
Fatal error: Call to undefined function:  fopen() in c:\program
files\easyphp1-7\www\impression.php on line 35




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27695&edit=1

Reply via email to