Re: file uploads
| From: | Eugene Lee | Date: | Mon, 01 Dec 2003 14:15:21 +0000 |
| Subject: | Re: file uploads | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171489@lists.php.net to get a copy of this message | ||
On Mon, Dec 01, 2003 at 02:00:34PM +0000, Jon Bennett wrote:
:
: Hi Chris,
:
: I think you're referring to this:
:
: $_FILES["image"]["tmp_name"]
:
: In my class I pass this as a reference:
:
: $aArgs['Image'] = $_FILES["image"];
:
: Then, $aImage in my storeBigImage() method is passed the
: $aArgs['Image'] when it's called:
:
: $this->storeBigImage($productID, $aArgs['Image']);
:
: All the image details are there because otherwise functions like
: getimagesize would fail, it just won't save the resized or, if the
: dimensions of the uploaded image aren't bigger than my max width and
: height, original image, and I really have no idea why!!
In your storeBigImage() method, what do you get if you do:
print_r($aArgs);