Re: [PHP] Re: Re: File upload in map drive with PHP
On 28 Jan 2012, at 01:41, 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=3 / 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 and you have to use form enctype=multipart/form-data action=upload_file.php method=post input type=hidden name=MAX_FILE_SIZE value=3 / input type=hidden name=upload value=1 / There is nothing stopping you doing this. Mixing GET and POST parameters is perfectly valid and can be incredibly useful. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: File upload in map drive with PHP
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=3 / 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/linux4miche...@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=3 / 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
[PHP] Re: Re: File upload in map drive with PHP
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=3 / 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 and you have to use form enctype=multipart/form-data action=upload_file.php method=post input type=hidden name=MAX_FILE_SIZE value=3 / input type=hidden name=upload value=1 / Thanks, Greetings and nice Day/Evening Michelle Konzack -- # Debian GNU/Linux Consultant ## Development of Intranet and Embedded Systems with Debian GNU/Linux Internet Service Provider, Cloud Computing http://www.itsystems.tamay-dogan.net/ itsystems@tdnet Jabber linux4miche...@jabber.ccc.de Owner Michelle Konzack Gewerbe Strasse 3 Tel office: +49-176-86004575 77694 Kehl Tel mobil: +49-177-9351947 Germany Tel mobil: +33-6-61925193 (France) USt-ID: DE 278 049 239 Linux-User #280138 with the Linux Counter, http://counter.li.org/ signature.pgp Description: Digital signature