Hi Lists,
 
How do you run/start a subroutin from a htm?.
Here e.g:
 
$filename = $ENV{QUERY_STRING} ;
open (FILE,"<$filename");
@ODB=<FILE>;
close (FILE);
 
print <<idaig;
 
<html>
<head>
<style>
BODY {
    background: #dc143c;
    color:#808040;
    font-size:16px;
    font-family:Verdana;
}
 
</style>
</head>
 
 
 
<body>
<textarea name=tarea cols=80 rows=25 value=@ODB > </textarea>
 
<form action="subroutin:save" >
<input type=submit value=ment�s>
</form>
 
 
 
</body>
</html>
 
idaig
 
 
 
sub save {
 
##ooh
##hope i can write this soubrutin. It must save the value of textarea to file :$filename
 
}
 
thanks :
Zol
 

Reply via email to