B
burrell.john
Hi,
I have the following code
I want to call back to the same cgi code on the same server - but on
submit I merely get the relative path appended to the original URL.
How to fix?
TIA
J
#!/usr/bin/perl
use strict;
use warnings;
use CGI ':standard';
print header,
start_html('Enter Logon Details'),
h1('Enter Logon Details`'),
h1($MyId),
start_form,
"What's your name? ",textfield('name'),p,
"What's your password? ",textfield('password'),p,
submit,
end_form,
hr;
I have the following code
I want to call back to the same cgi code on the same server - but on
submit I merely get the relative path appended to the original URL.
How to fix?
TIA
J
#!/usr/bin/perl
use strict;
use warnings;
use CGI ':standard';
print header,
start_html('Enter Logon Details'),
h1('Enter Logon Details`'),
h1($MyId),
start_form,
"What's your name? ",textfield('name'),p,
"What's your password? ",textfield('password'),p,
submit,
end_form,
hr;