chrisvmarle
09-02-2002, 05:25 PM
Is it possible to have users upload a RAR-archive wich is unpacked on the server so the files in it can be read by the following lines of the script?
Example:
I enter the page and see a little form with a file-select box (+ browse button) and a submit button.
I select a file "archive.rar" and click the submit button.
The file is being uploaded to the server and unpacked
Then I get to see a page with this information:
Your archive.rar contains 3 files:
text.txt of wich the text reads "This is a normal text file"
image1.jpg wich looks like this (resized to fit on page):
[IMAGE HERE] (<img src="(some_dir?!)/image1.jpg" width="80" height="60">)
image2.gif wich looks like this (resized to fit on page):
[IMAGE HERE] (<img src="(some_dir?!)/image2.gif" width="80" height="60">)
I hope I've made myself clear and there is someone who can help me on this :)
Thanks in advance
Mzzl, Chris
Example:
I enter the page and see a little form with a file-select box (+ browse button) and a submit button.
I select a file "archive.rar" and click the submit button.
The file is being uploaded to the server and unpacked
Then I get to see a page with this information:
Your archive.rar contains 3 files:
text.txt of wich the text reads "This is a normal text file"
image1.jpg wich looks like this (resized to fit on page):
[IMAGE HERE] (<img src="(some_dir?!)/image1.jpg" width="80" height="60">)
image2.gif wich looks like this (resized to fit on page):
[IMAGE HERE] (<img src="(some_dir?!)/image2.gif" width="80" height="60">)
I hope I've made myself clear and there is someone who can help me on this :)
Thanks in advance
Mzzl, Chris