Re: Cant Display the image...

[email protected] (Gunnar Hjalmarsson)
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
jeevs wrote:
>    I am using the GD::Graphs to generate a graph.
>   I am storing the file on the server and then displaying the same.

<snip>

> yes i am creating a file in cgi directoy ..
> 
> but instead of the image just a square box is displayed ..
> Do i need some configuration in apache or my i missing something in my
> perl code

You shouldn't store the file in the cgi-bin tree. Store it somewhere 
else, and you'll probably notice a difference.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.