On 6/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Nothing happens no errors or anything I tried to debug using
include('display_image.php?img_url=$image_url') I got a parse error.

   You can't include a file with a query string attached.  However,
you /can/ do:

<?
   $image_url = 'http://www.pr0nsite.com/gallery/big-boobs.jpg'; //
Your favorite!
   include('display_image.php');
?>

   However, it won't work if display_image.php expects $image_url to
specifically be passed as a $_GET[] variable --- which, on a
production site, it sure should, rather than accepting globals.

--
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

Reply via email to