RE: Opening a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
I did a

if ($lines === false) {
echo "lines is false";
}

like you suggested and it displays that text...but it still make no
sense.
mypage.php and fruits.txt are in the same folder, on the same server.
There
isn't any permissions issues.

So, if mypage.php and fruits.txt are in the same folder, then $lines =
file("fruits.txt") should be valid.
[/snip]

Are they the same owners? What exactly are the permissions on
fruits.txt?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux