note 14418 deleted from function.getimagesize by jimw

From: Date: Mon, 10 Dec 2001 23:32:22 +0000
Subject: note 14418 deleted from function.getimagesize by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22472@lists.php.net to get a copy of this message
It should be noted that when you pass a file variable, by either POST or GET, through a form that you SHOULD NOT use HTTP_GET_VARS or HTTP_POST_VARS. That will wipe out any value in the variable and cause major headaches with GetImageSize. In my original code I had $image = HTTP_POST_VARS['image']; which I normally use to reassure the values of passed variables and it had me messed up for days trying to figure out why the file wasn't testing or uploading.

« previous php.notes (#22472) next »