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/
> 

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

Reply via email to