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

Reply via email to