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

From: Date: Sun, 29 Jan 2012 06:00:29 +0000
Subject: Re: Re: Re: File upload in map drive with PHP
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-316423@lists.php.net to get a copy of this message
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@tamay-dogan.net/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

« previous php.general (#316423) next »