hey,
got a weird problem...
$img = new Image_Toolbox('/home/biosoni/public_html/mobile/backgrounds/an_image.jpg);
$img->newOutputSize($_GET['width'], $_GET['height']);
$img->output('jpg');
returns an error saying values must be greater than 0 even though the values in $_GET are numberic and do actually have god damn values in them.
The weird part is if I assign 2 variables ($width=120; $height=160😉 in the script and use them it works.
Can someone please! tell me what the hell is going on, why is it ignoring the $_GET values?
Thanks in advance.
-Vince
P.S. image toolbox is a class from phpclasses.org