Re: Premature end of script header error....

2007-10-25 Thread Hoenie Luk
Hi David, This may be just a shot in the dark, but I was dealing with the same "Premature end of header" error just a few days ago. It just so happen I neglected to place the correct path of perl.exe on the top of the cgi script before I ftp it to my web host. You know? The line that says: #

Re: Premature end of script header error....

2007-10-24 Thread Joerg Keller
hi nexis! This code works fine for me and I am able to see the graph. But when the code goes on production server, it gives Internal Server Error. I have check the error logs and it says the premature end of header. sorry, but you checked the logs not good enough. the message about "the pr

Re: Premature end of script header error....

2007-10-24 Thread David Moreno Garza
On Wed, 2007-10-24 at 03:46 -0700, nexis wrote: > This is a piece of code to print a graph object. > > > > ... >print "content-type: image/$graph_format\n\n"; > binmode STDOUT; > print $img_obj; > ... > > This code works fine for me and I am able to see the g

Premature end of script header error....

2007-10-24 Thread nexis
This is a piece of code to print a graph object. ... print "content-type: image/$graph_format\n\n"; binmode STDOUT; print $img_obj; ... This code works fine for me and I am able to see the graph. But when the code goes on production server, it gives Intern