On Sat, 17 Aug 2002 19:28:08 +0800, [EMAIL PROTECTED] (Archie) wrote:

>Here is the code, when i am executing this code in the browser, it prompts
>"The browser contains no data."
>I followed your suggestion to put \r\n\r\n in the print content-type line
>and nothings happen, still the same,
>no image is displayed.
>Thanks for helping a newbie in perl......

Your code works fine for me if I put it in the cgi-bin of a running
apache server. Do you have a web server running? You can't
just run it from a browser like javascript. If you do have
a web server going, make sure the path to the picture
is correct. If you are using a windows machine, try doing
a unix2dos conversion on the script.

Finally can you run the script from the command line?
If it works, you should see a bunch of binary data printed
out to the screen. If it dosn't work, what error messages do you
see?



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to