The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Web Application help - PHP, APACHE, and Zip by radiowave9112007-07-10 05:53:38
  How to get the files zipped? by EnzoMatrix 2007-07-10 06:46:25
Well.... From PHP one can call and execute shell scripts... Call a script that takes the file, zips it, and presents
it in the browser... Mind you though, that shell execution from PHP should NOT be taken lightly... At this point you'll
want to make a script that takes a parameter (in the form of the filename and path) and you'll have to monitor this
parameter like a hawk...
You wouldn't be the first victim of command injection..
[ Reply ]
    PHP apparantly has zip commands in it by sazzer2007-07-10 07:03:19
    Or just use a native PHP extension by Arancaytar2007-07-10 07:04:39
      Thanks. I had seen something about by radiowave9112007-07-10 07:11:26
    At this stage, the filenames will already by radiowave9112007-07-10 07:26:32

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)