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

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][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]
Floating point limitations: [url][/url]