FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Script Unzip (very cool)





thaonguyenxanh
demo: http://hongnet.cwhnetworks.com/a
lang: vietnamese
user: admin_thuyen
pass: asyemdcxn
I will upload late[/url]
fyzika
thaonguyenxanh wrote:
demo: http://hongnet.cwhnetworks.com/a
lang: vietnamese
user: admin_thuyen
pass: asyemdcxn
I will upload late[/url]


Page not found.
Star Wars Fanatic
Yes, that would be very cool, except that the page isn't found.
And I can't read Vietnamese... Is there an English translation?
BlueVD
Working with zip in PHP is very easy...
Here's a small script I made while I was learning a bit of php zip magic:
Code:
$zip = new ZipArchive;
$result = $zip->open('test.zip');
echo "<pre>";
print_r($zip);

for ($i=0; $i<$zip->numFiles;$i++) {
   echo "index: $i\n";
   $arr=$zip->statIndex($i);
   if($arr['crc']!=0){
      print_r($arr);
   }
}

echo "</pre>";
$zip->close();

The crc check above is used to differentiate files from folders (folders in zip archive have CRC=0 since themselves aren't considered to be data, only the files contained within them).
Have fun.
unionz
Cool script Smile
is it only for zip file format ?
Related topics
Script Upload (obiefileman)
How to access CPanel/DirectAdmin from behind a firewall
Cpanel Acess... again!
TRANSFORMERS MOVIE SCRIPT REVIEW...SPOILERS ARE HIDDEN
url hover code
BOT prevention - stand out from the crowd
GO!Script 2.0 -Making Windows Scripting easy
a cool script for a juicy image gallery
java script search engine..
An IRC anouncement
free script?
My Script
[Script] Javascript Hangman Games
Need php script
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.