P
Peter Lauren
I am building a web site and my server PCs are running Windows XP. I
would like the client to be able to upload multiple files. I have
considered the following.
1/ The following code from http://www.w3schools.com/TAGS/tag_select.asp.
<form action="upload_file.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>
The user would only be able to use one file at a time.
2/ A modification of 1 where the user uploads a zip file, containing
all the files to upload. The approach then would be to unzip the
files server-side. One approach suggest for this was PHP Zip
http://www.w3schools.com/php/php_ref_zip.asp . This link says to
download and install zziplib. I have never had any luck with zlib but
I thought I would try this. Bunch of error messages. Had to change
the .c suffices to .cpp and also find and download a bunch of .h
files. Even then I got a bunch of error messages when I tried to
compile.
3/ Unzipping the uploaded zip file server-side using pkzip.exe.
Should that work?
4/ Using ftp. Should that work? How would I implement it?
5/ Using Flash or Starlight. Are these free? Can they be used
server-
side?
Many thanks in advance for any feedback,
Peter.
would like the client to be able to upload multiple files. I have
considered the following.
1/ The following code from http://www.w3schools.com/TAGS/tag_select.asp.
<form action="upload_file.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>
The user would only be able to use one file at a time.
2/ A modification of 1 where the user uploads a zip file, containing
all the files to upload. The approach then would be to unzip the
files server-side. One approach suggest for this was PHP Zip
http://www.w3schools.com/php/php_ref_zip.asp . This link says to
download and install zziplib. I have never had any luck with zlib but
I thought I would try this. Bunch of error messages. Had to change
the .c suffices to .cpp and also find and download a bunch of .h
files. Even then I got a bunch of error messages when I tried to
compile.
3/ Unzipping the uploaded zip file server-side using pkzip.exe.
Should that work?
4/ Using ftp. Should that work? How would I implement it?
5/ Using Flash or Starlight. Are these free? Can they be used
server-
side?
Many thanks in advance for any feedback,
Peter.