Re: $_FILES doesn't work but $_POST works

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

 



kartikay malhotra wrote:
Hi All,

I'm using Mbuni MMS gateway, which provides me the facility to upload .mms
files.

Now with my little exposure to PHP, to upload files (say from the browser),
I use $_POST, namely:

if($_FILES['userfile']['size'] > 0)
{
 $fileName = $_FILES['userfile']['name'];
 $tmpName  = $_FILES['userfile']['tmp_name'];
...
...
}

That's not $_POST. That's $_FILES.

Show us the real code you're using.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
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