Print/echo image after retrieving it using curl like this: -


i'm testing code , seems work, doesn't show image code of image.

i'm trying changing headers params no luck, idea?

really basic fault :)

you must put header('content-type: image/jpeg'); @ top of file.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -