TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-01-2009, 11:05 PM   #1 (permalink)
The Contributor
 
mortisimus's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 47
Thanks: 4
mortisimus is on a distinguished road
Default ZipThings

http://www.zipthings.com/

A website that allows you to grab any files from anywhere on the internet and bundle them all into 1 zip file as one big download instead ofg having to go around and then having to sort all your downloads out after they're finished.

Obviously the site is focused more on working and coding rather than design (yes, yes I know the design is crap).

Just thought it'd come in handy for some people
mortisimus is offline  
Reply With Quote
Old 02-02-2009, 03:40 AM   #2 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Very cool, that is an interesting way to apply zip procedures.
__________________

Village Idiot is offline  
Reply With Quote
Old 02-02-2009, 08:25 AM   #3 (permalink)
The Contributor
 
mortisimus's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 47
Thanks: 4
mortisimus is on a distinguished road
Default

Be sure to spread the word around!
mortisimus is offline  
Reply With Quote
Old 02-02-2009, 09:24 PM   #4 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Very nice idea! However, I entered a root domain that is a web-page, and all I got in my ZIP file was one file with no extension. I think you should definitely specify the extensions in the ZIP files. I was also expecting the system to add in all the images it could locate on the URL I gave it. I think that should definitely be the case, because the idea is fantastic, now it just needs a little more functionality added!

As I say, that's a lovely idea, and I will be sure to add your link to the left on TalkPHP if you add those above features ! Google will show you a little love, if nothing else.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 02-02-2009, 11:18 PM   #5 (permalink)
The Contributor
 
mortisimus's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 47
Thanks: 4
mortisimus is on a distinguished road
Default

Looks like I've got my work cut out!

Haha, just joking, thanks for the great ideas Wildhoney, I'll definately get working on this.

Keep an eye out for these features if I can get it to work
mortisimus is offline  
Reply With Quote
Old 02-02-2009, 11:58 PM   #6 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I can't actually test this script I've just written because my web-server is currently broken, but hopefully it will give you an idea how to go about it If you require any help what-so-ever though, do just ask the community!

php Code:
function getElementsByExtension(array $aExtensions)
{
    $szContent = file_get_contents('http://www.talkphp.com/show-off/3929-zipthings.html');
    $aElements = array();
   
    foreach ($aExtensions as $szExtension)
    {
        preg_match_all('~(?:src|href)="([^"]+\.' . $szExtension . ')"~is', $szContent, $aMatches);
        $aElements[] = $aMatches[1];
    }
   
    $pArray = (object) array('aFlat' => array());
    array_walk_recursive($aElements, create_function('&$v, $k, &$t', '$t->aFlat[] = $v;'), $pArray);
    return $pArray->aFlat;
   
}

print_r(getElementsByExtension(array('jpg', 'gif', 'css')));
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 02-10-2009, 09:39 PM   #7 (permalink)
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default

Does it give you the full page querys and all?
KingOfTheSouth is offline  
Reply With Quote
Old 06-24-2009, 11:40 AM   #8 (permalink)
The Wanderer
 
Join Date: Jun 2009
Location: Stoke-on-Trent
Posts: 7
Thanks: 2
xdam is on a distinguished road
Default

Hey, you should move the 'add file field' button up to the right of the URL box and maybe rename it to 'Add another file' or just use an icon.

Home and Zip in the top nav are the same page, maybe get rid of one of those? Also, change 'partner site' to 'upload images' to make it more obvious.

I think the site is a great idea.
Send a message via Skype™ to xdam
xdam is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:40 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design