Re: [PHP-INSTALL] PHP can't read File

2004-07-30 Thread Chris Hewitt
On Fri, 2004-07-30 at 13:10, BizHat.com Free Hosting wrote: > > Hi, > > I have following script > > > $file_content = file ("./data/reserved.txt","r") or die("Unable to > open file"); > while(list($line_num,$line) = each ($file_content)) { > $line = trim($line); > echo "$line"; > } > >

[PHP-INSTALL] PHP can't read File

2004-07-30 Thread BizHat.com Free Hosting
  Hi,   I have following script     $file_content = file ("./data/reserved.txt","r") or die("Unable to open file");while(list($line_num,$line) = each ($file_content)) {$line = trim($line);echo "$line"; }   ?>   at http://free.bizhat.com/test.php I get Unable to open file error. What shoul