![Picture of László Zsidi Picture of László Zsidi](/graphics/unknown.gif)
László Zsidi - 2009-04-27 19:26:36 -
In reply to message 1 from Javad Ahmadzadeh
Try to read $_FILES content into a variable:
$string = fread ( fopen ( $_FILES [ 'adv_img' ] [ 'tmp_name' ], "rb" ), filesize ( $_FILES [ 'adv_img' ] [ 'tmp_name' ] ) );
And call the constructor...:
$r_image = $imageResize -> resize ( $string, 468 );