mypage.php and fruits.txt have the same permissions. The IUSR(internet user) account has the following permissions: Read & Execute Read On 9/5/07, Jay Blanchard <jblanchard@xxxxxxxxxx> wrote: > > [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? >