Hi,
 
I have following script
 

<?php
 
$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<br>";

}
 
?>
 

at

http://free.bizhat.com/test.php

I get

Unable to open file

error. What should i do ?

I use PHP 5 on Apache 2, anything with configuration ?

My phpinfo() available at

http://free.bizhat.com/phpinfo.php

Regards,

Yujin Boby

 

Reply via email to