#36446 [Opn->Bgs]: GetImageSize return "Connection Refused Failed to open stream"
| From: | mike@php.net | Date: | Sat, 18 Feb 2006 22:18:59 +0000 |
| Subject: | #36446 [Opn->Bgs]: GetImageSize return "Connection Refused Failed to open stream" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93411@lists.php.net to get a copy of this message | ||
ID: 36446
Updated by: mike@php.net
Reported By: rodolfocaminiti at msn dot com
-Status: Open
+Status: Bogus
Bug Type: GetImageSize related
Operating System: Fedora
PHP Version: 5.1.2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-02-18 19:18:53] rodolfocaminiti at msn dot com
Description:
------------
GetImageSize return "Connection Refused Failed to open stream" when the
file is stored in the database mysql. This error isn't present in all
php4.
The Img is showed but if I wish to have the size php by another file
that call the img throgh the script below show this error:
Warning: getimagesize(http://www.nomesito.it/screen.php?Id=1)
[function.getimagesize]: failed to open stream: Connection refused in
/home/web/www.vincity.it/website/modules/screenshots/resize.php on line
105
Reproduce code:
---------------
The Img is called by a similar script (screen.php):
<?
$query = "SELECT DatiBinari, Type FROM
".$config['db_tbl_prefix']."screenshots WHERE Id = '" .
$_GET["Id"] .
"'";
$select = @mysql_query($query) or die("Query fallita !");
$result = @mysql_fetch_array($select);
$data = $result["DatiBinari"];
$type = $result["Type"];
Header("Content-type: $type");
echo $data;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36446&edit=1