|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-25 10:32 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 25 00:00:01 2025 UTC |
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