RE: [PHP] .DAT file with PHP
| From: | jblanchard at pocket dot com | Date: | Wed, 08 Mar 2006 13:58:13 +0000 |
| Subject: | RE: [PHP] .DAT file with PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231660@lists.php.net to get a copy of this message | ||
[snip]
I want to use PHP to show the contents of the DAT from back to front.
HOw do
I do that?
[/snip]
Open the file, read it into an array, read the array backwards and close
the file. Start with http://www.php.net/fopen and
http://www.php.net/array .... they are both in the manual.