Re:
Scritto da: |Alex| 15/09/2005 11.06
risolto .... errore stupido nel codice
$size = getimagesize("foto/$nick/$v1");
$height = $size[1];
$width = $size[0];
$percent = ($size[0] / $width);
if ($size[0] > 400 ) {
$nuova_x = 400;
$height = ($size[1] / $percent);
$nuova_y = $height;
}
else {
$nuova_x = $height;
$nuova_y = $height;
}
Qui?