Alan,
Much easier to read would be:
sub handler {
my $r = Apache::Request-new(shift);
my $file_name = $r-param('see_below');
my $file = $r-upload('see_below');
if ($file) {
# here you go...
# filehandle is in $file-fh;
}
}
On the HTML side, input type=file
head
titleSystem Wide/title
/head
body
p /I am the header.
Index.html:
hr
p /This is just a thought.
p /But something should be above me.
/body
/html
The header doesn't show up when I go to the index page. What's up?
Eric
Paul de Repentigny
Directeur Développement Logiciel