hi friends in my dwnload section when i open pics section i get this error
Warning: getimagesize(http://images.businessweek.com/ss/06/09/ceo_socnet/image/burger-king.jpg) [function.getimagesize]: failed to open stream: Permission denied in /home/www/mysite.info/lists.php on line 3221
Warning: Division by zero in /home/www/mysite.info/core.php on line 592
i got error only this pics section tel me where is problam
line no 3221 in list.php is bold
while ($item = mysql_fetch_array($items)) { $ext = getext($item[2]); $mysock = getimagesize("$item[2]"); $imagesizeWH = imageResize($mysock[0], $mysock[1], 150); $ime = "<img src="$item[2]" $imagesizeWH alt="*"/>"
line no 592 in core.php is bold
//takes the larger size of the width and height and applies the //formula accordingly...this is so this script will work //dynamically with any size image
$percentage = ($target / $width);
//gets the new value and applies the percentage, then rounds the value $width = round($width * $percentage); $height = round($height * $percentage);
nw tel me friends wht error in this ???? plz