[thelist] I promise learning some PHP, in the future...

Ken Robinson kenrbnsn at rbnsn.com
Tue Apr 5 14:32:31 CDT 2005


Quoting "Joan Olivé M." <jolive at tinet.org>:

> Well, Rob, It's resisting to work...
>
> Thanks a lot in any case. I've the change, but it doesn't work.
>
> I realize that you have done a proof, when the form worked with "get", the
> file received was:
>

[snip]

>
>> Joan
>>
>> Try:
>> <form action="enviar.php" method="POST" enctype="multipart/form-data">
>>
>> When you have <input type="file"> you must use method="POST".
>>

When you switch from using method="get" to method="post", you have to change
your input array from $_GET to $_POST

Kem



More information about the thelist mailing list