note 87590 rejected from function.getimagesize by danbrown
| From: | danbrown@php.net | Date: | Thu, 11 Dec 2008 20:36:34 +0000 |
| Subject: | note 87590 rejected from function.getimagesize by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148049@lists.php.net to get a copy of this message | ||
Note Submitter: pannakara at yahoo dot com
----
can anyone help me on this?
/////////////////////
if ($qn == 1) {
echo "<td width=\"50%\">";
$qn=0;
} else {
echo "<tr><td width=\"50%\">";
$qn=1;
}
/////////////////////
$userav = $row['user'];
if ($row['rating'] == "") {$rating = "0";} else {$rating =
$row['rating'];}
$id = $row['id'];
echo "<table width=\"100%\" border=\"1\"><td
width=\"175\">";
$image = $row['imgurl'];
if(getimagesize($image) == false) {
i open the page and it's super super slow -- when it's show the page then the image is not
displaying ... and shown error:
Warning: getimagesize(http://www.domain.com/img/buoitiecchay08-phan1.jpg) [function.getimagesize]:
failed to open stream: Connection timed out in
/home1/chuahuon/public_html/modules/Video_Stream/layout.php on line 66
please help.
thanks