Hello all! I would appreciate any help with the following problem.
I have a Perl script to retrieve data and send it back to an HTML page. If I run the script from the browser, it works perfectly:
However, I can't get it to run from an HTML page, as in:
<!--#exec cgi="/cgi-bin/get_pp_data.pl?category=1"-->
error log only shows:
" invalid CGI ref "/cgi-bin/get_pp_data.pl?category=1" "
I've been searching both this CGI forum and the perl forum. I found and tried the <IFRAME>...</IFRAME> trick and it works, but that returns data in a frame and since I don't know how much data will be returned, it gets really cumbersome, not to mention ugly if I use scroll=yes.
Anyone have any ideas? You can use:
to see what I'm ultimately trying to do.
Thanks,
Tom
(the man without a snappy moniker)
I have a Perl script to retrieve data and send it back to an HTML page. If I run the script from the browser, it works perfectly:
However, I can't get it to run from an HTML page, as in:
<!--#exec cgi="/cgi-bin/get_pp_data.pl?category=1"-->
error log only shows:
" invalid CGI ref "/cgi-bin/get_pp_data.pl?category=1" "
I've been searching both this CGI forum and the perl forum. I found and tried the <IFRAME>...</IFRAME> trick and it works, but that returns data in a frame and since I don't know how much data will be returned, it gets really cumbersome, not to mention ugly if I use scroll=yes.
Anyone have any ideas? You can use:
to see what I'm ultimately trying to do.
Thanks,
Tom
(the man without a snappy moniker)