[Gllug] PHP Again

home at alexhudson.com home at alexhudson.com
Tue Jul 24 16:11:10 UTC 2001


On Tue, Jul 24, 2001 at 04:54:24PM +0100, Jackson, Harry wrote:
> if ($HTTP_POST_FILES['userfile']['tmp_name']=="none"){

Isn't $HTTP_POST_FILES['userfile']['tmp_name'] an array rather than a value?

EG, does $HTTP_POST_FILES['userfile']['tmp_name'][0] work??

(Convievably you might want to upload more than one file at a time.)

Chers,

Alex.

-- 

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list