Kealper Posted May 26, 2010 Posted May 26, 2010 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'); readfile('someimage.png'); Hopefully I described my plight.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now