Jump to content



Photo

ZIP.au3 UDF in pure AutoIt


  • Please log in to reply
188 replies to this topic

#1 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 12 June 2008 - 08:05 AM

Hi there!

I just wrote a ZIP udf in AutoIt (without external files) which lets you create archives, fill them with files and folders and extract them to your computer :)
these are the functions

<<go to the last release's section and jump previous releases's posts>>

======================= Updated =======================
UPDATED 30/6/2008
UPDATED 24/9/2008

Fixed Various Bugs
Added Wait Function to let the script sleep until the files havn't been zipped :P
Changed Function Names new format is: _Zip_TheFunction()

UPDATED 13/10/2008

_Zip_AddFolder() now changed in _Zip_AddFolderContents()
New Function : _Zip_AddFolder() that now adds the whole folder creating a subdirectory in the zip file
_Zip_Count() Bug Finally fixed

UPDATED 6/11/2008

New Function : _Zip_CountAll() that counts all elements in the archive. Including SubDirectories

UPDATED 28/11/2008

New Virtual Zipping Functions this is actually very cool stuff! Maybe useless, but cool.

UPDATED 17/03/2009

Added _Zip_Delete($hZipFile, $hFilename, $flag = 1). Very slow but it works... It'll be improved
FLAGS WORK!


Here are the User CallTip Entries:
_Zip_Create($FileName) Create Zip File. Required #include <Zip.au3> _Zip_AddFile($ZipFile, $File2Add, [$flag]) Add file to Zip Archive. Required #include <Zip.au3> _Zip_AddFolder($ZipFile, $Folder, [$flag]) Add folder to Zip Archive. Required #include <Zip.au3> _Zip_AddFolderContents($ZipFile, $Folder, [$flag]) Add folder's content to Zip Archive. Required #include <Zip.au3> _Zip_Delete($ZipFile, $hFileName, [$flag]) _Zip_UnzipAll($ZipFile, $DestPath, [$flag]) Extract all files from Zip Archive. Required #include <Zip.au3> _Zip_Unzip($ZipFile,$FileName, $DestPath, [$flag]) Extract file from Zip Archive. Required #include <Zip.au3> _Zip_Count($ZipFile) Count items in zip. Required #include <Zip.au3> _Zip_CountAll($ZipFile) Count All items in the Zip Archive Including SubDirectories. Required #include <Zip.au3> _Zip_List($ZipFile) List items in zip. Required #include <Zip.au3> _Zip_Search($ZipFile, $SearchString) Search a File in the Zip Archive. Required #include <Zip.au3> _Zip_SearchInFile($ZipFile, $SearchString) Search In each File of the Zip Archive. Required #include <Zip.au3> _Zip_VirtualZipCreate($ZipFile, $Path) Create a Virtual Zip. Required #include <Zip.au3> _Zip_VirtualZipDelete($VirtualZipHandle) Delete a Virtual Zip. Required #include <Zip.au3>


Example Script
AutoIt         
; Zip Example ; _________________________________ ; ; Zip UDF Example by torels_ ; _________________________________ #include "Zip.au3" Dim $Zip, $myfile $myfile = @DesktopDir & "\foo.au3" $Zip = _Zip_Create(@DesktopDir & "\zip_002.zip") ;Create The Zip File. Returns a Handle to the zip File _Zip_AddFile($Zip,$myfile) ;add $myfile to the zip archive _Zip_AddFolder($Zip,@desktopdir & "\Folder_001",4) ;Add a folder to the zip file (files/subfolders will be added) _Zip_AddFolderContents($Zip, @DesktopDir & "\MyFolder") ;Add a folder's content in the zip file MsgBox(0,"Items in Zip","there are " & _Zip_Count($Zip) & " items in " & $Zip) ;Msgbox Counting Items in $Zip MsgBox(0,"Items in Zip","there are " & _Zip_CountAll($Zip) & " Elements in " & $Zip) ;Msgbox Counting Elements in $Zip $search = _Zip_Search($Zip,"foo.au3") ;Returns an array containing the search results For $i = 0 to UBound($search) - 1   ; Print Each     ConsoleWrite($search[$i]) & @LF ; Corresponding value Next                            ; In The Console $list = _Zip_List($Zip) ;Returns an array containing all the files in the zip file ConsoleWrite("============== ZIP Contents ============" & @LF) For $i = 0 to UBound($list) - 1         ConsoleWrite($list[$i] & @LF)   ;Print Search Results in the console Next Exit


Comments are welcome :P
previous number of downloads: 1787 & a few more XD

Attached Files

  • Attached File  Zip.au3   21.87K   9360 downloads

Edited by torels, 23 March 2009 - 08:41 AM.

  • IgImAx likes this
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org





#2 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 12 June 2008 - 08:36 AM

Correct me if i'm wrong, but didn't ElTorro already do this?


I didn't read accurately the post eltorro made.... but looking at the scripts... doesn't it use an external dll ?
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

#3 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 12 June 2008 - 09:08 AM

Well Done torels and thank you for sharing.
The add file or folder function isn't working for me even though.
C:\AutoIt Stuff\zip.au3 (23) : ==> The requested action with this object has failed.: $oApp.NameSpace($ZipFile).CopyHere($File2Add) $oApp.NameSpace($ZipFile)^ ERROR


You need a Com Error Handler function added so we can debug whats wrong..

Cheers

#4 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 12 June 2008 - 09:15 AM

Yes
I saw it XD

The problem is that as the script quits the copying process stops... I'm working on a "Pause" kind of thing until the file is added :)

I should be done in 5 minutes :P
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

#5 Emiel Wieldraaijer

Emiel Wieldraaijer

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 651 posts

Posted 12 June 2008 - 09:18 AM

Does this work in Windows 2000 ?
Best regards,Emiel WieldraaijerPosted Image

#6 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 12 June 2008 - 09:20 AM

Don't know

Anyway... the Path passed as a parameter has to be a full path... even if the zip file is in the same directory of the script
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

#7 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 12 June 2008 - 10:02 AM

Ok now it shoul be working...
I get no errors... and I'm using Win XP SP3... if you have different operating systems and the script does strange things please tell me :)
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

#8 SxyfrG

SxyfrG

    Adventurer

  • Active Members
  • PipPip
  • 129 posts

Posted 12 June 2008 - 11:02 AM

I didn't read accurately the post eltorro made.... but looking at the scripts... doesn't it use an external dll ?


Fair enough :)

This looks really good, keep up the good work :P
My scripts:AppLauncherTRAY - Awesome app launcher that runs from the system tray NEW VERSION! | Run Length Encoding - VERY simple compression in pure autoit | Simple Minesweeper Game - Fun little game :)My website

#9 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 12 June 2008 - 11:24 AM

Fair enough :)

This looks really good, keep up the good work :P


Thanks :D

I'm Working on a single file extraction rather than getting them all extracted now :P
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

#10 rogdog

rogdog

    Wayfarer

  • Active Members
  • Pip
  • 59 posts

Posted 12 June 2008 - 01:21 PM

Hi torels,

I have not had chance to try out your script but wanted to say thanks for sharing it with others. I have looked at the source and it looks very professional. Assuming it all works !! it would be great to see this kind of UDF included in a future build of autoit.

All I need to do now is convert some of my scripts to use your code

thanks

#11 YOUF

YOUF

    Seeker

  • Active Members
  • 47 posts

Posted 12 June 2008 - 02:08 PM

Zip.au3 (63) : ==> ????? "With" ????.:
$on = $oApp.NameSpace($ZipFile).Items.Count
$on = $oApp.NameSpace($ZipFile)^ ERROR


system:winxp sp2

autoitscript:3.2.12.0

#12 weaponx

weaponx

    I'm coming for blood, no code of conduct, no law.

  • MVPs
  • 5,366 posts

Posted 12 June 2008 - 02:39 PM

Zip.au3 (63) : ==> ????? "With" ????.:
$on = $oApp.NameSpace($ZipFile).Items.Count
$on = $oApp.NameSpace($ZipFile)^ ERROR


system:winxp sp2

autoitscript:3.2.12.0


You have to provide the full file path for both _ZipCreate and _ZipAddfile, you can't use relative paths.

#13 gcriaco

gcriaco

    Polymath

  • Active Members
  • PipPipPipPip
  • 205 posts

Posted 12 June 2008 - 03:39 PM

Hi torels,

I have not had chance to try out your script but wanted to say thanks for sharing it with others. I have looked at the source and it looks very professional. Assuming it all works !! it would be great to see this kind of UDF included in a future build of autoit.

All I need to do now is convert some of my scripts to use your code

thanks


Agreed. Congrats.
Please consider to propose your UDF to be included to the AutoIt package (http://www.autoitscript.com/autoit3/udfs/UDF_Standards.htm)

Ciao
Peppe

#14 weaponx

weaponx

    I'm coming for blood, no code of conduct, no law.

  • MVPs
  • 5,366 posts

Posted 12 June 2008 - 03:50 PM

Agreed. Congrats.
Please consider to propose your UDF to be included to the AutoIt package (http://www.autoitscript.com/autoit3/udfs/UDF_Standards.htm)

Ciao
Peppe


This code looks strikingly similar to this other code:
http://www.autoitscript.com/forum/index.ph...;hl=compression

#15 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 12 June 2008 - 04:00 PM

Looks very good. Just one question. The header for _ZipAddFile() states

$ZipFile - Complete path to zip file that will be created (or handle if existant)

Am I correct in assuming that if I use
; $zFile = _ZipCreate("C:\My Folder\My_File.zip") ;

That I can then use
; _ZipAddFile($zFile, "C:\Some Folder\Text_File.txt") ;


As the others have stated these functions could be worthy of inclusion in the standard UDFs but I would see it more as renaming your functions to _File_Zip*() and adding them to the existing File.au3 UDF. You may also have to add more error checking.

With your permission (after I finish testing), I will add them to my Filex.au3 file.
Thanks for the functions.
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#16 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 12 June 2008 - 04:17 PM

You are indeed!

anyway... I an working on the security and bringing it to standard form of UDF's

I will propose it as soon as I get home this evening as an UDF to come with the installation of autoit :)
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

#17 Emiel Wieldraaijer

Emiel Wieldraaijer

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 651 posts

Posted 12 June 2008 - 06:52 PM

This code looks strikingly similar to this other code:
http://www.autoitscript.com/forum/index.ph...;hl=compression



Aha this will mean it will not work in windows 2000
and it's not pure autoit
Best regards,Emiel WieldraaijerPosted Image

#18 goldenix

goldenix

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 735 posts

Posted 12 June 2008 - 07:57 PM

The Compression is so so.. a bit less than Winrap Compression can you possibly make the compression more even? like same as BEst Winrar compression?

Tested with: AutoIt Version: 3.2.12.0


Works
$ZipFile = @ScriptDir & '\test.zip' $ZipFile = _ZipCreate($ZipFile) _ZipAddFile($ZipFile, @ScriptDir & '\101_Jokes_And_Comix.au3')ƒo݊÷ Ø:²z-Šä6‡«®ŠæzËë   ºË­æ­zǦ¦Ü³Š—â•æ®¶ˆ­sbb33cµ¦—f–ÆRÒ67&—DF—"fײb33“²b3“#·FW7B禗b33“°¢b33cµ¦—f–ÆRÒõ¦—7&VFR‚b33cµ¦—f–ÆR¥õ¦—FDföÆFW"‚b33cµ¦—f–ÆRÂ67&—DF—"fײb33“²b3“#¶‚b33“²“·&WGW&ç2F÷FÂçVÖ&W"öbf–ÆW2÷"fÇ6R–â66Röbf–ÇW&Pƒo݊÷ ØDQ9b¥IóА%–éÝyø§y×îËb¢tÇU     ¶b¥IóА%”3„HӓrLÖß}÷ß}÷ß}÷ý¶®¶ˆ­seõ¦—V禗ÆÂ‚b33cµ¦—f–ÆRÂ67&—DF—"fײb33“²b3“#²b33“²ƒo݊÷ ØDQ9DןŠx­Š‰è}˜©R|⦉åŠwµÛˆ§Î*Z»v®¶ˆ­sbb33cµ¦—f–ÆRÒ67&—DF—"fײb33“²b3“#·FW7B禗b33“°¥õ¦—V禗‚b33cµ¦—f–ÆRÂb33“·FW7Ff–ÆRæ§rb33“²Â67&—DF—"


#19 smashly

smashly

  • Active Members
  • PipPipPipPipPipPip
  • 1,635 posts

Posted 13 June 2008 - 02:49 AM

Hi again and thank you again :)

Suggestions for some things could be cleaned up and added.
maybe add an optional param to the zip functions for the progress, prompt for overwrite ..etc to be enabled or disabled.

Check that the zipfldr.dll is on the pc and registered before firing the function.
(for some people like myself I had unregistered windows built in zip functionality and realized why my errors were happening, but the error handling in this script didn't help to deduct what was wrong.)
Simple checks that return an error at the start of each function before even creating an object would save a lot of effort in the long run.

Error handling needs a proper Com Error handler with option for console returned debug info of error.
1) So the script doesn't just crash out with object "AutoIt.Error" if com goes wrong.
2) So ppl can see what the com error is.

The returns on the functions would be nice as 0 or 1 for failed or successful
The error return would be nice with varying int for different errors, Example:
@error 1 = zipfldr.dll does not exist or not registered
@error 2 = Invalid Zip file path
@error 3 = Invalid directory/file path to add
@error 4 = Invalid Destination path
@error 5 = Com Error (see debug output for further info)

You could also just add a function for the count of files/folders in the zip and return the count.
A user can call this when they like to work things out.

In the current posted zip.au3 the _ZipCreate($filename) function theres a declared Const but it's not used.
Const $ForWriting = 17

In the current posted zip.au3 the _ZipUnzip($ZipFile, $DestPath) has redundant While loop and array add.
AutoIt         
    For $item In $oApp.Namespace($ZipFile).Items         _ArrayAdd($array, $item)     Next         While 1         Sleep(500)         If FileExists($DestPath & "\" & $array[UBound($array) - 1]) Then ExitLoop     WEndƒo݊÷ Ù8^ºÚÈ]Ó~š®¶²Ó~¢µé¬†‹¥u·€®¶²×tߦ«­¬´ß¨­ziڙá/z{(ŠÝý²·š–§¢ÙÞyם[(¶ŸŠ»-¦‹-ç±«miÈfz{m¡·®¥Ö­yÛh™«†Ø^~éܶ*'²ØZ¶š,µ×¬r¸›zÄáŠË®*m¡ü¨º»!jÈ+y«i¢×§¶&¥ ž®ÁŠÑÞ­íý²Ê&z‡ð…«H™æ§iº.¶šÞzjmŠ÷ž®º+rœ’ȧiû§rبœý½éèµ§]y֜¢g«®Šájwez¼žµ»­ŠÝý²‰í…ìÉ«­¢+Øì€ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ìÕ¹Ñ¥½¸9…µ”¸¸¸è}i¥Á}U¹é¥Á¥±”(쁕͍ɥÁÑ¥½¸¸¸¸¸¸èáÑɅÐ„™½±‘•ȁ½È™¥±”½¹Ñ…¥¹•¥¸„i%@ɍ¡¥•Ù”¸(ìI•Åեɕµ•¹Ð¡Ì¤¸¸èé¥Á™±‘ȹ‘±°É•¥Íѕɕ½¸Ñ¡”½µÁÕѕÈ(ìMå¹Ñ…ุ¸¸¸¸¸¸¸¸è}i¥Á}U¹é¥Á¥±” ˜ŒÀÌØíÍi¥À°€˜ŒÀÌØíÍ¥±”°€˜ŒÀÌØíÍ•̤(ìA…É…µ•ѕȡ̤¸¸¸¸è€˜ŒÀÌØíÍi¥À€€€€€´ ½µÁ±•Ñ”Á…Ñ Ñ¼…¸•á¥ÍÑ¥¹œé¥À™¥±”Ñ¼•áÑɅÐ™É½´¸(쀀€€€€€€€€€€€€€€€€€˜ŒÀÌØíÍ¥±”€€€€´¥±”½È½±‘•ȁ¹…µ”Ñ¼•áÑɅÐ€¡¹½ÐÁ…Ñ °©ÕÍЁ¹…µ”¤¸(쀀€€€€€€€€€€€€€€€€€˜ŒÀÌØí͕̀€€€€´ ½µÁ±•Ñ”Á…Ñ Ñ¼…¸•á¥ÍÑ¥¹œ™½±‘•ȁ™½È€˜ŒÀÌØíÍ¥±”Ñ¼‰”•áÑɅÑ•Ñ¼¸(ìI•ÑÕɸY…±Õ”¡Ì¤¸èMՍ•Í̀€€´I•ÑÕɸ€Ä…¹•ÉɽȀÀ(쀀€€€€€€€€€€€€€€€€…¥±Õɔ€€€´I•ÑÕɸ€À…¹Í•Ё•ÉÉ½È€ÅøÔ(쀀€€€€€€€€€€€€€€€€€€€€€€€€€€€€•ÉɽȀĀô%¹Ù…±¥i¥À™¥±”Á…Ñ (쀀€€€€€€€€€€€€€€€€€€€€€€€€€€€€•ÉɽȀȀô¥±”½È½±‘•ȁ¹½Ð™½Õ¹¥¸é¥À(쀀€€€€€€€€€€€€€€€€€€€€€€€€€€€€•ÉɽȀ̀ô%¹Ù…±¥•ÍÑ¥¹…Ñ¥½¸Á…Ñ (쀀€€€€€€€€€€€€€€€€€€€€€€€€€€€€•ÉɽȀЀôI•Åեɕé¥Á™±‘ȹ‘±°‘½•́¹½Ð•á¥ÍÐ(쀀€€€€€€€€€€€€€€€€€€€€€€€€€€€€•ÉɽȀԀôI•Åեɕé¥Á™±‘ȹ‘±°•á¥ÍÑ́‰ÕЁ¥Ì¹½ÐÉ•¥Íѕɕ(ìÕÑ¡½È¡Ì¤¸¸¸¸¸¸¸èÍµ…Í¡±ä(ì9½Ñ•Ìè$$$(ì(ì€ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹Œ}i¥Á}U¹é¥Á¥±” ˜ŒÀÌØíÍi¥À°€˜ŒÀÌØíÍ¥±”°€˜ŒÀÌØíÍ•̤(%1½…°€˜ŒÀÌØí11 ¡¬€ô}i¥Á}±± ¡¬ ¤(%%˜€˜ŒÀÌØí11 ¡¬€™±Ð왝Ðì€ÀQ¡•¸I•ÑÕɸM•ÑÉÉ½È ˜ŒÀÌØí11 ¡¬°€À°€À¤€ì…¥±•É•Åեɕµ•¹Ð½˜é¥Á™±‘ȹ‘±°(%%˜9½Ð¥±•á¥ÍÑÌ ˜ŒÀÌØíÍi¥À¤Q¡•¸I•ÑÕɸM•ÑÉÉ½È Ä°€À°€À¤€ì%¹Ù…±¥i¥ÀÁ…Ñ (%%˜9½Ð¥±•á¥ÍÑÌ ˜ŒÀÌØíÍ•̤Q¡•¸I•ÑÕɸM•ÑÉÉ½È Ì°€À°€À¤€ì%¹Ù…±¥•ÍÑ¥¹…Ñ¥½¸Á…Ñ ($(%1½…°€˜ŒÀÌØí½M¡•±°°€˜ŒÀÌØí½i±‘È(($˜ŒÀÌØí½M¡•±°€ô=‰© ɕ…Ñ” ™ÅÕ½ÐíM¡•±°¹ÁÁ±¥…Ñ¥½¸™ÅÕ½Ðì¤($˜ŒÀÌØí½i±‘È€ô€˜ŒÀÌØí½M¡•±°¹9…µ•ÍÁ…” ˜ŒÀÌØíÍi¥À¤(€€€½È€˜ŒÀÌØí½%ѕ´%¸€˜ŒÀÌØí½i±‘ȹ%ѕµÌ($€€€%˜€˜ŒÀÌØí½%ѕ´¹¹…µ”€ô€˜ŒÀÌØíÍ¥±”Q¡•¸€€(€€€€€€€€€€€€˜ŒÀÌØí½M¡•±°¹9…µ•ÍÁ…” ˜ŒÀÌØíÍ•̤¹ ½Áå!•É” ˜ŒÀÌØí½i±‘ȹA…É͕9…µ” ˜ŒÀÌØíÍ¥±”¤¤($$%I•ÑÕɸM•ÑÉÉ½È À°€À°€Ä¤€íMՍ•ÍÌ($%¹‘%˜(%9•áÐ(€€€€(%I•ÑÕɸM•ÑÉÉ½È È°€À°€À¤€ì¥±”¹½Ð¥¸é¥À)¹‘Õ¹Œ((ì€ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ì}i¥Á}±± ¡¬ ¤™Õ¹Ñ¥½¸Ñ¼¡•¬Ñ¡”ÍåÍѕ´¡…́ѡ”é¥Á™±‘ȹ‘±°…¹¥Ð˜ŒÌäí́ɕ¥Íѕɕ¸(ì€ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹Œ}i¥Á}±± ¡¬ ¤(€%%˜9½Ð¥±•á¥ÍÑÌ¡MåÍѕµ¥È€™…µÀ쀙ÅÕ½Ð옌ÀäÈíé¥Á™±‘ȹ‘±°™ÅÕ½Ð줁Q¡•¸I•ÑÕɸ€Ð(%%˜9½ÐI•I•… ™ÅÕ½Ðí!-e} 1MMM}I==P˜ŒÀäÈí 1M%˜ŒÀäÈííàá ÀµÝÌ´ÄŐĵåÀ´ÀÁÀÀØÁÌÅô™ÅÕ½Ð찀™ÅÕ½Ðì™ÅÕ½Ð줁Q¡•¸I•ÑÕɸ€Ô(%I•ÑÕɸ€À)¹‘Õ¹Œ

Edited by smashly, 13 June 2008 - 05:24 AM.


#20 torels

torels

    I Hacked 127.0.0.1! :D

  • Active Members
  • PipPipPipPipPipPip
  • 676 posts

Posted 13 June 2008 - 08:40 AM

Ok!

I fixed a few things (And also added smashly's error handler :)) and uploaded the new script...
It now has _Zip_Count() and _ZipList() functions, respectively counting and listing all the files in the zip archive :P
_Zip_List() returns an array obviously :P
Some Projects:indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users