Jump to content
Sign in to follow this  

Sending an image over HTTP

Recommended Posts


I'm not sure if this has been answered before, and I have no idea what to search to find out how, so I'm sorry if it was already answered.

Ok, so I'm using AutoIt as a CGI handler with Apache to turn it in to a ghetto web scripting thing, and I would like to emulate the PHP method of sending an image, but with AutoIt. I have tried different ways to read the image I want to send to the browser (binary, UTF, etc...), but I am unable to get the browser to display it correctly.

example of what I'm trying to do, in PHP:

(my php sucks, but this is the only way I can describe what I would like to do)

header('Content-type: image/png');

Hopefully I described my plight.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.