Solved

File upload

Posted on 2002-05-09
5
288 Views
Last Modified: 2006-11-17
ive got an upload script which works but when im uploading more than a few Mb's i get this error

Warning: File Upload Mime headers garbled ptr: [ in Unknown on line 0


i need to be able to upload about 15MB at the most.

any ideas what the error means or any ideas of a fix
0
Comment
Question by:keano84
5 Comments
 
LVL 10

Expert Comment

by:rj2
ID: 6998791
It would be easier to help you if you post the script you use.
0
 

Author Comment

by:keano84
ID: 6998808
0
 
LVL 1

Expert Comment

by:logan69
ID: 6998830
You form tag must have
ENCTYPE="multipart/form-data"

You must include this line in your form.
<input type="hidden" name="MAX_FILE_SIZE" value="15728640">
0
 

Author Comment

by:keano84
ID: 6998854
my form tag does include this and i have tried the max file size. The files do upload but there is an error at the top of the page
0
 
LVL 4

Accepted Solution

by:
lokeshv earned 75 total points
ID: 6998959
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now