Re: Opening a file

From: Date: Wed, 05 Sep 2007 15:15:04 +0000
Subject: Re: Opening a file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-261734@lists.php.net to get a copy of this message
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@pocket.com> 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? >

« previous php.general (#261734) next »