It is something simple and stupid, but I don't know how to fix it. Copied exactly equal the code to read .txt files, but on my host I get that error, tried to move the files, put the two in /public and nothing, I don't know how to fix it, I've tried everything. With c++ never had problems with that statement
<? php
$fille = fopen("/login/info.txt","r");
while(!feof($fille)
{
$line = fgets($fille);
$brline = nl12($line);
echo "$brline";
}
fclose($fille);
?>
The error is in the line 2 and I tried all these forms but none served
$fille = fopen("info.txt","r");//obviously putting the files where I teach it
$fille = fopen("/info.txt","r");
$fille = fopen("logininfo.txt","r");
and this way successively with all the possible combinations of '/' , '' , '//' and '\'
