[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] FruitChat -- a Perl chat room script



Hi,

I've been trying to get this script to work on our *Mac* server which has
MacPerl. When I call the script from Netscape 4.0x I get an invalid
character error. My ISP is lost as to how to troubleshoot this.

The script can be run at http://www.militaryaudiology.org/chat.htm

The first page loads fine but the error occurs when I try to log-in to the
chat.

Here's the first few lines and my configured settings from the .pl script:

#!/usr/bin/perl
################################################################
#
# FruitWare Live Chat version 1.01
# created by RedBoxChiliPepper, January 1998
#
# http://www.phonelosers.org/fruitchat.htm
# Check out our website for updates of FruitWare
# products and lots of Phone Losers of America crap.
#
################################################################
# Set the following variables to match your system.

$chatpage = "chatpage.htm";
$chatpageurl = "chatpage.htm";
$chatcgiurl = "/cgi-bin/fruit_chat.pl";
$chatinfo = "chat_info.htm";
$chatinput = "chat_input.htm";
$chatlog = "chatlog.htm";
$date_command = "/bin/date";

# Finished. Nothing below this line should be modified
# unless you really think you know what the hell you're doing.
##############################################################

The browser chokes here:
print NEW "<br><a href=\"$FORM{'homeurl'}\"
onMouseOver=\"window.status='Posted on $postdate by ";

It doesn't like that backslash before 'window'.

Any help is appreciated.

Rob



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch