Hi All,
I just installed ActivePerl version 5.6.1 for Window98 on my machine.
Then, I am trying to learn CGI-Perl, but the problem that I have is the
outputs of the Perl scripts. I'd like them to go my Netscape or IE browsers,
as they are supposed to, but they just appeared as following in the dos
window:
Content-Type: text/html; charset=ISO-8859-1
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><title>A
Simple Ex
ample</title>
</head><body><h1>A Simple Example</h1><form method="post"
action="/perl4.html" e
nctype="application/x-www-form-urlencoded">
What's your name? <input type="text" name="name" /><p />What's the
combination?
<p /><input type="checkbox" name="words" value="eenie" checked />eenie<input
typ
e="checkbox" name="words" value="meenie" />meenie<input type="checkbox"
name="wo
rds" value="minie" checked />minie<input type="checkbox" name="words"
value="moe
" />moe<p />What's your favorite color? <select name="color">
<option value="red">red</option>
<option value="green">green</option>
<option value="blue">blue</option>
<option value="chartreuse">chartreuse</option>
</select>
<p /><input type="submit" name=".submit" /><input type="hidden"
name=".cgifields
" value="words" /></form><hr /></body></html>
What do I need to do to put the output to the browsers?
Thanks in advance,
Thanh
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com