Re: passing a url to a page

From: Date: Fri, 15 Jun 2007 14:41:49 +0000
Subject: Re: passing a url to a page
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-257078@lists.php.net to get a copy of this message
ross@aztechost.com 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

« previous php.general (#257078) next »