Forum Moderators: phranque

Message Too Old, No Replies

Self-extracting files

Is there a way to do it on Apache?

         

ffoeg

9:15 am on Mar 29, 2007 (gmt 0)

10+ Year Member



If this post does not belong here, I'm sorry, but I'll keep it short and sweet.

I have a PHP script that uploads a zip file, an image, and a title for a templates section. Now what I normally do is upload the zip file, the image file and the title and then I upload the actual template itself (the constituent files) manually.

What I'm wanting to do is to eliminate the manual uploading of the files. Somebody suggested I use self-extracting files instead of normal zip files. I then unzip the file on the server through a script, in order to get the constituent files for display.

What I'm needing to know is whether this is at all possible on Apache servers?

encyclo

5:27 pm on Mar 30, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Self-extracting files are for Windows only (.exe files produced by WinZip or similar programs). If you are uploading .zip files, you can always use a script server-side (Perl, PHP etc.) to unzip the .zip file via the
unzip
command-line utility.