Joe, Do you know when the file size is checked ??
I think it only gets checked after the form is posted and file uploading is finished ?? I don't know how it's possible to catch things before user uploads - now that would be neat :-) Jim..... "Lerp" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there :) Did you set a max file size in your upload form? See my form > below, notice the 'MAX_FILE_SIZE' value='102400' part within hidden field. > This should appear before the rest of the form. You can adjust this value as > you wish. > > > <form action='resumeupload.php' method='post' enctype='multipart/form-data'> > <input type='hidden' name='MAX_FILE_SIZE' value='102400'> > <font color='#663399' face='verdana' size=2><b>Upload > Resume:</b></font> > <input type='file' name='userfile' style='background-color: > #FFFFFF; font-family: verdana; font-weight: bold; color: #9999FF; font-size: > 9pt;'> > <input type='submit' value='Upload!!!' > style='background-color: #FFFFFF; font-family: verdana; font-weight: bold; > color: #9999FF; font-size: 9pt;' name="submit"> > </form> > > > Hope this helps, Joe :) > > > > "Chuck "Pup" Payne" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > > > I am trying to set a small script that would let my clients upload file > with > > a Explorer or Netscape, but the problem is it would let me upload any file > > that is great than a 1MB. We get an error that the file "none" could not > be > > read. > > > > I have set the upload_tmp_dir=/tempupload is has been chmod to 777, > php.ini > > as been set to 20MB, I know that is a lot but we are engingeering company > > that work with CADD files. > > > > Any clues where to look? The PHP 4 Bible from IDG states that we have to > > under HTTP uploads, but nothing else. Is there some where on the net that > > explains better what I have to set up, turn on, or haven't done? > > > > Thanks, > > > > Chuck > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php