Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Preventing an image from caching

by bastard (Hermit)
on Nov 28, 2000 at 20:25 UTC ( [id://43696]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Preventing an image from caching
in thread Preventing an image from caching

Call the file with this script.
#!/bin/perl $image = `cat imagenameandpath`; print "Content-type: image/png\n\n"; print $image;
It's the simplest way i know.

BTW- image/png is for png file format, substitute gif, jpeg, for others.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://43696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found