Re: Re: Re: File upload in map drive with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/27/2012 5:41 PM, Michelle Konzack wrote:
Merhaba Mehmet YAYLA,

Am 2012-01-26 15:10:34, hacktest Du folgendes herunter:
I'm using code this bellow.

...with an error!

<form enctype="multipart/form-data" action="upload_file.php?upload=1" method="post">  <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
                 Select image:<input name="userfile" type="file"/>
                 <input type="submit" value="Upload" />

You can not use
     action="upload_file.php?upload=1"

together with
     method="post"

Wrong!  Try this...

http://www.cmsws.com/examples/php/testscripts/linux4michelle@xxxxxxxxxxxxxxx/form_upload.php


and you have to use
     <form enctype="multipart/form-data" action="upload_file.php method="post">  <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
                   <input type="hidden" name="upload" value="1" />

Wrong.  See above.


Thanks, Greetings and nice Day/Evening
     Michelle Konzack


--
Jim Lucas

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux