Re: Drawing Images Without Writing To a File

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

 



On Thu, 2010-03-11 at 10:27 -0500, Floyd Resler wrote:

> I want to draw tabs in a tab bar without having to actually write the images to a file.  Is it possible to generate the image and send the data back and make the browser think it's loading an image file?  I know this can be done by sending the proper headers back for an entire page, but I just want to do basically the same thing for just part of the page.
> 
> Thanks!
> Floyd
> 
> 


Have the image tag call a script which generates the images based on
parameters in the filename:

<img src="image.php?param1=something&param2=something_else"/>

Then you can have PHP read in the GET data and generate any image you
need.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[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