Re: GD Question
| From: | Simon Rees | Date: | Tue, 05 Apr 2005 18:33:19 +0000 |
| Subject: | Re: GD Question | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39123@lists.php.net to get a copy of this message | ||
On Tuesday 05 April 2005 19:19, Craig Hoffman wrote:
> The script works fine when I test it on a stand alone page. I'm just
> not sure how to include with the "rest" of the site.
You can't do it all from the same script (AFAIK). This is because of the way
http/browsers work - each image is requested as a separate file. Put your
image code in a separate script and request it in the src attribute of your
html image tags. e.g.
<img src="display_image.php">
Simon
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees | tech-lists@zodiac2000.co.uk |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~