Re: file function

From: Date: Fri, 08 Jul 2005 23:38:45 +0000
Subject: Re: file function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218373@lists.php.net to get a copy of this message
Well, it supposed to give you array. http://us2.php.net/manual/en/function.file.php array file ( string filename [, int use_include_path [, resource context]] ) What do you want exactly? Ezra On Fri, 2005-07-08 at 16:34 -0700, Joseph Lee wrote: > Hi, > > I tried file() in the following lines: > > <?php > $authFile = file("/tmp/authenticate.txt"); > print "authFile = $authFile"; > ?> > > However, it only gave me > authFile = Array > > What's wrong with this file function? I tried single > quotes, but got the same answer, too. > > Thanks, > Joe > > > > ____________________________________________________ > Sell on Yahoo! Auctions – no fees. Bid on great items. > http://auctions.yahoo.com/ >

« previous php.general (#218373) next »