Jump to content

Problem with UPLOAD


andz

Recommended Posts

when uploading a file, i've encountered a problem ... here's the dump values

 

Array

(

    [userfile] => Array

        (

            [name] => beach_iStock_000000112348_L2.jpg

            [type] =>

            [tmp_name] =>

            [error] => 2

            => 0

        )

 

)

 

i already have set up the necessary things when uploading larger files... my limit is 10mb of file upload.

Link to comment
https://forums.phpfreaks.com/topic/165223-problem-with-upload/
Share on other sites

<HTML>

<HEAD>

<TITLE>Upload example</TITLE>

</HEAD>

<BODY>

 

<FORM METHOD="post" ACTION="page.php" enctype="multipart/form-data">

<p><strong>File</strong><br>

<INPUT TYPE="hidden" NAME="MAX_FILE_SIZE" VALUE="30000" />

<INPUT TYPE="file" NAME="attach" SIZE="30"></p>

<P><INPUT TYPE="submit" NAME="submit" VALUE="Send"></p>

</FORM>

</BODY>

</HTML>

 

 

that's my form.

Link to comment
https://forums.phpfreaks.com/topic/165223-problem-with-upload/#findComment-871300
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.