dwonload section error help me ?

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

8 replies · 362 views · started 17 years ago · 1 min read

5 participants
12345xmen Developer · 239 posts #1

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

capofret Developer · 225 posts #2

try chmod to 777 or set permission to 777

LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com

don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

External image (may be gone)

12345xmen Developer · 239 posts #3

nothing happen when i chnage chmode 777

same error help me plzzzzzzzzz

12345xmen Developer · 239 posts #5

wht i do for this bro ??????????

subzero Super moderator Fellow · 3,954 posts #6

just use php thumb ffs lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

riderz Lead · 975 posts #8

try this in core.php

function  getimagesize($width, $height, $target) {

//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);

//returns the new sizes in html image tag format...this is so you
//can plug this function inside an image tag and just get the

return "width=\"$width\" height=\"$height\"";

}
   function candelgal($uid, $item)
{
  $candoit = mysql_fetch_array(mysql_query("SELECT  uid FROM ibwf_gallery3 WHERE id='".$item."'"));
  if($uid==$candoit[0]||ismod($uid))
  {
    return true;
  }
  return false;
}

Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

12345xmen Developer · 239 posts #9

this is alos not wrk same error i get rider ?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close