Post any links or useful resources for phpBB3 "Olympus". Code development, or MOD related resource links, or any other useful resources regarding phpBB3
by patrikStar » 22 May 2007, 23:08
- Code: Select all
<?php
@include('pclzip.lib.php');
$newfile = 'file.zip';
$archive = new PclZip($newfile);
if (@$archive -> extract(PCLZIP_OPT_PATH, 'test/')) {
echo "File extracted";
} else {
echo "Error extracting file.";
}
?>
you can get the file it is including here:
http://www.phpconcept.net/pclzip/index.phpThis is what I am using for my autoupdate feature on my arcade room mod
-
patrikStar
- Borg Drone

-
- Posts: 73
- Joined: 16 May 2007, 20:47
- Location: Las Vegas
- Gender: Male
- phpBB Knowledge:

-
by eviL3 » 23 May 2007, 12:47
Cool, phpBB3 has some zip functions, maybe you can use them...
-

eviL3
Igor
- MOD Author

-
- Posts: 1002
- Joined: 05 Nov 2006, 08:14
- Location: Cooking in the MODs kitchen
- Gender: Male
-
by SmokiestGrunl » 30 Jun 2008, 02:13
Is it posible to make a mod so you could upload a .zip and then it will attrach it all and then be able to use the files from the zip like an attachment?
-
SmokiestGrunl
Adrian
- Crewman

-
- Posts: 8
- Joined: 07 Apr 2008, 03:37
- Gender: Male
- phpBB Knowledge:

-
Return to phpBB3 Links and Resources
Who is online
Users browsing this forum: No registered users and 3 guests