Re: passing a url to a page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ross@xxxxxxxxxxxxx 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.

I would rather use buffers if this is possible?

You can't parse GET parameters with include. Try this...

$_GET['img_url'] = $image_url;
include 'display_image.php';

Or better yet, make a simple HTML file with just an image tag.

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux