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

From: Date: Wed, 31 May 2006 05:42:49 +0000
Subject: Re: $_FILES doesn't work but $_POST works
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-237135@lists.php.net to get a copy of this message
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/

« previous php.general (#237135) next »