Question
by "Sharkey" <sharkey(at)esslink.com>
|
Date: |
Wed, 9 Feb 2000 12:10:11 -0500 |
To: |
<hwg-techniques(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
I started setting up a username and password thing on my website. This
is a test I would like to have try and see what I am doing wrong.
If you go to http://www.hartfordwolfpackbc.com and on the left side
navigation area, click on the Members Area link, put in the username
"sharkey" and the password "scumbag" it should talk you to the area I want
protected, but all it does is give me an error. This error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
Can't use subscript on subroutine entry at D:\home\nt4s96\cgi-bin\pwd.pl
line 74, near "{ALRM}"
(Did you mean $ or @ instead of &?)
Execution of D:\home\nt4s96\cgi-bin\pwd.pl aborted due to compilation
errors.
This is the part of the script it is talking about. I put the number before
each line so you can see what it is talking about. The whole script can be
found at http://www.hartfordwolfpackbc.com/script.htm :
###########Kill runaways
# Set non buffering
$| = 1;
65# Define SIGALRM handler
66sub TIME_ALARM {
67 # ReAssign SIGALRM handler
68 $SIG{ALRM}='TIME_ALARM';
69 print "Sorry. Your request timed out. Try later or contact ";
70 print "<a href=\"mailto:$youremail\">$yourname</a>.\n";
71 exit;
72}
73 Assign SIGALRM handler
74 $SIG{ALRM}='TIME_ALARM';
75alarm $timeout;
76###########end kill runaway
Thanks in advance!!!
Phil
Phil Zolla
sharkey(at)esslink.com
Hartford Wolf*Pack Booster Club
Minor League team of the New York Rangers
http://www.hartfordwolfpackbc.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA