Posting Comment
| From: | Felipe Guaycuru Franco | Date: | Sun, 11 Feb 2007 23:14:28 +0000 |
| Subject: | Posting Comment | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34250@lists.php.net to get a copy of this message | ||
I'm trying to post this comment:
Just correcting erix function to extracting all entries in a rar file.
<?php
/* example by Erik Jenssen aka erix - fix by FGFEmperor */
$filename = "foobar.rar";
$filepath = "/home/foo/bar/";
$rar_file = rar_open($filepath.$filename);
$list = rar_list($rar_file);
foreach($list as $file) {
$entry = rar_entry_get($rar_file, $file->name);
$entry->extract("."); // extract to the current dir
}
rar_close($rar_file);
?>
But I'm getting a message about my IP being listed on a SPAM database...
What should I do?
Thanks
FGFEmperor