in reply to Re: Image problem with CGI [ (8)Exec format error ]
in thread Image problem with CGI [ (8)Exec format error ]
Thanks folks.
Trouble was I did not really understand Apache's document structure. I do now :)
I moved the file to a temp directory and accessed it from there. Now it looks (and works) like this:
#!/usr/bin/perl -wT use strict; use CGI; my $cgi = new CGI; print $cgi->header(); print $cgi->start_html(qq(Image practice)); print $cgi->img({-SRC=> '/temp/nelo/gnuplot2.gif', -ALIGN=> 'left'}); print $cgi->end_html();
|
|---|