Dunno, it's your code :) It kan be a kazillion things.
Make sure the top of your script says: $| = 1; and put a lot of warn (<your variables>) in your code to debug where it is going wrong. comment out the RRDs::graph statement and change the print of the content type headerto a warn() statement. Look in your error_log, if it's not there, then your code is not outputting what it should output. If you succesfully outputted the content type statement, a valid gif image output will have your browser displaying the image. Any non-valid output will give you the broken image icon in your browser. Not garbled stuff. Garbled stuff indicates that your browser never saw that it should have been expecting an image. Serge. b.t.w., just in case, never try to do this: print "<html>"; print "<body>"; print "Content-type: image/gif\n\n"; print `cat image.gif`; print "</body>"; print "</html>"; It doesn't work that way.. -----Original Message----- From: Chitman Kaur [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 9:02 AM To: Serge Maandag Cc: [email protected] Subject: Re: [rrd-users] Re: Junk characters instead of graph If I create a seperate file with only this information then it works.... but when i put the code in my original grapher it still gives junk.... I looked into error_log in /etc/httpd/logs ... there is no error.... What to do now.... Chitman -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
