dl file to db<

liunx

Guest
i would like to setup where a user is able to submit a zip file via a form, and then link to the file (in the db) so other users can dl it.
im using mysql and php.

also, is it possible to tell what is inside a zip...like, extensions (.txt)?more work to look inside of one but you need zlib module installed.

look into move_uploaded_file() or copy(), in the Php Manual (<!-- m --><a class="postlink" href="http://us4.php.net/docs.php">http://us4.php.net/docs.php</a><!-- m -->) to upload a file.thanks,

what about being able to tell what is inside of a zip file when one is submitted?This maybe?

<!-- m --><a class="postlink" href="http://www.php.net/manual/en/ref.zip.php">http://www.php.net/manual/en/ref.zip.php</a><!-- m -->
 
Back
Top