Thats what I am trying to do... I have HTML code making a table and in one cell i am trying to output the graph created by RRD.... Is it not possible..... :( Regards Chitman Serge Maandag <[EMAIL PROTECTED]> wrote: 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 () 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 ""; print ""; print "Content-type: image/gif\n\n"; print `cat image.gif`; print ""; print ""; 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 --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -- 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
