Error on Image caching

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I try cache the image but it retun nothing
sometimes this error come out
"failed to open stream: HTTP request failed! HTTP/1.1 401 Access

This is my code:

header("Content-Type: image/jpeg\n");

$image = ' ';

$data = ob_get_contents();
echo $data;

Re: Error on Image caching

or any of u can suggest other method to cache the image..
if the image generate dynamically ???

Re: Error on Image caching

now i notice that the image have the query string (?)
any know how to cache image with querystirng

Site Timeline