Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

caching of images from database

images php coding issues or problems here.

Moderators: macek, egami, gesf

caching of images from database

Postby DoppyNL » Tue Aug 20, 2002 5:21 am

As you probably know from a previous post I retrieve images from my database.
I noticed images that are sent to the user using my php-script are not cached as normal images.
How can tell the browser (and proxy's) that the image called with "image.php?id=234" will be the same image for the rest of eternity?? and that they may cache the file?
I am 100% sure that the image behind an id won't change. so "image.php?id=234" will always be the same.

Greetz Daan

Postby serg_dz » Tue Dec 17, 2002 11:12 pm

Yuo can try to send disposition in your header. But I'm not shure that it will help.
New php-forum User
New php-forum User
Posts: 13
Joined: Thu Oct 10, 2002 10:37 pm
Location: Ukraine

Return to PHP coding => Images

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.