#26195 [Opn->Bgs]: Not Using Remote Paths
| From: | iliaa@php.net | Date: | Tue, 11 Nov 2003 21:27:26 +0000 |
| Subject: | #26195 [Opn->Bgs]: Not Using Remote Paths | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-50243@lists.php.net to get a copy of this message | ||
ID: 26195
Updated by: iliaa@php.net
Reported By: bijan at tehranto dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Warning
Operating System: Linux
PHP Version: 5.0.0b2 (beta2)
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.
Thank you for your interest in PHP.
This is a support issue and not a bug.
Previous Comments:
------------------------------------------------------------------------
[2003-11-10 23:32:53] bijan at tehranto dot com
Description:
------------
When using either imageSX or imageSY or imageCreateFromJpeg and etc.
The compiler does not allow imageSX('myimg.php?index=10') (Note: The
file does exist and it is in the correct path)
Reproduce code:
---------------
for($i = 1; $i <= mysql_num_rows($result) ; $i++) {
$record = mysql_fetch_row($result);
$pics[$i]['src'] = "pg_im_full_by_id.php?ind=".$record[0];
$newIMG = imagecreatefromjpeg('pg_im_full_by_id.php?ind='.$record[0]);
$pics[$i]['width'] = imageSX($newIMG);
$pics[$i]['height'] = imageSY($newIMG);
}
Expected result:
----------------
Create an image using the source file, take its attributes and assign
to the array.
Actual result:
--------------
Warning: imagesx(): supplied argument is not a valid Image resource
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26195&edit=1