file function
| From: | Joseph Lee | Date: | Fri, 08 Jul 2005 23:34:39 +0000 |
| Subject: | file function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218372@lists.php.net to get a copy of this message | ||
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/