http://www.perlmonks.org?node_id=572307


in reply to Re^5: CGI-Perl:: Location for saving the GD output
in thread CGI-Perl:: Location for saving the GD output

Ya Shmem,

it is working finally..Thanks a lot :-) ; but if you remember I asked the question that I was not able to get (B). Where (B) was actually this png image and (A) was text output.

And with (A) and (B) together I am still getting Greek and Latin only.

Is it a problem of header, because to get both text as well as image.. which header should I use.. I tried every combination of

print "Content-type:text/html\r\n\r\n"; print "Content-type:image/x-png\r\n\r\n; but its printing the same arbitory symbols.. Or both the things can not be worked simultaneously??