> Though it doesn't have anything to do with your problem, I highly
> recommend
> using 'strict' -- it keeps silly typo errors for popping up, among
> other
> things.
ReadParse fails if i use strict, :(, so I can't use it.
> >require("./cgi-lib.pl") || die "can't locate cgi-lib.pl";
> >require("./share-lib.pl") || die "can't locate share-lib.pl";
>
> If you do use strict, you'll probably have problems requiring the
> above
> scripts -- this is a good thing. You'll notice that if you have
> two
> functions with the same name in your SingleChart.pl and in one of
> the above
> required scripts, things will get funky. Using strict also forces
> you to
> keep your namespace clean.
No duped functions so I am ok here.
> >&ReadParse(*para);
> >$| = 1;
> >#&checkSCode;
> >foreach $name ( keys(%para) ) {
> > push(@query, "$name=$para{$name}");
> >}
> >$comline = join("\\\&", @query);
> >#print $comline;
> ># generate the chart by calling 'gifChart'
> >system("./gifChart $comline");
> I notice that you don't send anything back to the browser. I
don't
> know
> what your gifChart program does. Have you tried setting some
> variable to
> the output that you get from gifChart and then sending that back to
> the
> browser?
gifChart simply returns a gif.
This script is called muliple times by another script that provides
an HTML wrapper for the gifs, but the ouput from this script is
ending up in apache's script_log while the boilerplate goes to the
browser.
I have attached script_log. Perhaps that might help.
Thanks,
--jab
=====
John Bollinger, CFA, CMT
www.BollingerBands.com
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
script_log