class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : class.zip
file_src_name_body : class
file_src_name_ext : zip
file_src_pathname : /tmp/phpYa84RV
file_src_mime : application/x-zip
file_src_size : 24549 (max= 105906176)
file_src_error : 0
process file to ./files/
- file size OK
application/x-zip, Added that to the array and works fine. Thanks mate!Reply
I'm searching for an upload script which let's me upload files in a zip file. I don't know how I can make this as if I'm a complete noob. So maybe you could share the code you have used perhaps?:$ It would be very helpfull for me.
Even though application/zip is allowed on the list. I can upload GIF, JPG, etc uploads just fine.
Here is my upload code:
Any ideas? Thanks
I'm searching for an upload script which let's me upload files in a zip file. I don't know how I can make this as if I'm a complete noob. So maybe you could share the code you have used perhaps?:$ It would be very helpfull for me.
I hope you can help me with this.
Thanks in advance.