A friend and I are struggling to get this little segment of code to work. Basically all we are doing is generating some graphics on the fly from a MySQL database and displaying them on a webpage.
The problem is that this section of code does NOT display the generated image - but if we set the img src to a previously generated image it will happily display that.
The image itself is generated fine - but why can't we get the new one to display?
if(param("submit")) { $start=param("start"); $finish=param("finish"); if(!defined($child_pid=fork())) { die "cannot fork $!"; } elsif($child_pid==0) { my $query= "/usr/apache/cgi-bin/order/ldasdump.pl -png + -d dicty chr5.1:$s tart,$finish --user xxxx --pass xxxxxxxxx > /usr/apache/htdocs/nob24.p +ng"; exec($query); } else { waitpid($child_pid,0); print img({src=>"../../nob24.png",align=>'LEFT'});
Bukowski - aka Dan (dcs@black.hole-in-the.net)
"Coffee for the mind, Pizza for the body, Sushi for the soul"
-Userfriendly
In reply to Images built on the fly do not display by Bukowski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |