J
John Everett
newsgroup...
I have found that the <input type=image'> passes a value when
interpeted with Netscape or Mozilla but NOT with IE.
Consider the following:
HTML page passing a form...
<html>
<head>
</head>
<body>
<form name='test' action='test.cgi' method='post'>
<input type='image' name='test' value='1' src='../images/blue_bullet.jpg'>
</from>
</body>
</html>
Perl cgi script catching the form (test.cgi)...
#!/usr/bin/perl
use CGI;
my $page = new CGI;
my $test_value = $page -> param('test');
print $page -> header();
print "test value: $test_value <br>";
Both Netscape and Mozilla and print $test_value
as "1" while IE prints it as an empty string.
Why does the HTML page not pass the input value
to the cgi script?
Any help would be great!
Thanks in advance.
John
I have found that the <input type=image'> passes a value when
interpeted with Netscape or Mozilla but NOT with IE.
Consider the following:
HTML page passing a form...
<html>
<head>
</head>
<body>
<form name='test' action='test.cgi' method='post'>
<input type='image' name='test' value='1' src='../images/blue_bullet.jpg'>
</from>
</body>
</html>
Perl cgi script catching the form (test.cgi)...
#!/usr/bin/perl
use CGI;
my $page = new CGI;
my $test_value = $page -> param('test');
print $page -> header();
print "test value: $test_value <br>";
Both Netscape and Mozilla and print $test_value
as "1" while IE prints it as an empty string.
Why does the HTML page not pass the input value
to the cgi script?
Any help would be great!
Thanks in advance.
John