Well, first of all, you have outcommented the print
statement, so I wouldn't expect any output at all.
Furthermore, even if the print statement wasn't outcommented,
the program does not send an
HTTP header, just some
HTML. The poor browser expects
HTTP, and
will hence think the server went bananas. You also never
check for errors; you assume every call you make succeeds.
I don't know much about Win32; I can't recall that I ever
used it. I heard it doesn't have much security, but is the
security that bad that a web server can access a users control
panel? If not, then that might be your problem.
-- Abigail
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.