Topic: help needed with zipping a folder and downloading (Read 390 times)
Google dot what?
Posts: 2
20 credits Members referred : 0
« on: Jul 03, 2009, 09:27:51 am »
This pops up a dialog box: and says and allows me to save the file but; it does not save it as a zip file. I also notice that it does not put the extension .zip and if i manually change the downloaded file name to a .zip and try to open it says the file is corrupt.
main page form <form id="form2" name="form2" method="post" action="zip3.php"> <label>Enter Username to get images for that user<br /> <input type="text" name="userName" id="userName" /> </label> <input name="Submit2" type="submit" /> </form> <?php $userName = $_POST['userName']; $_SESSION['userName'] = $userName; ?>