From: bijan at tehranto dot com
Operating system: Linux
PHP version: 5.0.0b2 (beta2)
PHP Bug Type: Compile Warning
Bug description: Not Using Remote Paths

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='.$r ecord[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 bug report at [url]http://bugs.php.net/?id=26195&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26195&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26195&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26195&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26195&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26195&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26195&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26195&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26195&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26195&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26195&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26195&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26195&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26195&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26195&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26195&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26195&r=float[/url]