On 6/15/07, Stut <[EMAIL PROTECTED]> wrote:
OK, your problem here is the single quotes in the img src around $img_url.
Stut's right. You should change:
echo "<img src=\"common/display_image.php?img_url='$img_url'\"
width=\"200\" height=\"100\" />";
.... to:
echo "<img
src=\"common/display_image.php?img_url=".$img_url."\" width=\"200\"
height=\"100\" />";
He's also right about the dynamic resizing of images causing a
serious strain on the server. Each time it has to do that, it uses up
a significant amount of resources for a seemingly quick and small
operation. Multiply that by n number of simultaneous accesses and you
can see the exponential - and potentially devastating - "pitfallic"
results.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php