Hello. I have a script that I found, and want to modify it. One modification is to make what shows on the screen reversed. (ie.what's on top to show at the bottom of the page.) Is there an easy way of just turning a script upside down without messing anything up? Thanks Lesia

Brian and Cure, here is the script. I need the name and text field to show at the bottom of the page and the pull down menu deleted. Also I wanted to intergrate images into the messages when posted with some of symbol such as for a smiley face _smile_ and have the image appear. Thanks, Lesia

I made the chat script,so the name and text field shows up at the bottom of the page, the pull down menu deleted and the info for each entry to appear at the bottom of the list instead of the top of the list.

Cure ################

#!/usr/bin/perl

# Chat program (version 2.13) # # Copyright 1998 Michael Chavel (chavel@aquilo.net) # You may use this program for PERSONAL, NON-PROFIT USE ONLY! # The most recent version of this program and documentation can # be found at http://www.aquilo.net

foreach (keys %times) { # check active user names $taken=$_ if (m/^$user$/i); }; if (length($taken)) { # is name already active ### # one method of verifying users is to check the previous $user value # saved in a hidden field in the HTML form. If they don't match # this person is trying to use someone else's name if (lc($user) ne $cur->param("save")) { ### # another way to verify users is to check the remote users ip address. # if it is not the same as before assume this is a different person # and prompt for a different user name # if (!($remote_host =~ m/$hosts{$taken}/i)) { # $sorry ="The name $taken is already active. " .'Please choose another name.'; }; # otherwise, assume this is the same active user ### } elsif (length($user)) { # new user $times{$user} = $timestamp; $hosts{$user} = $remote_host; };

Cure, THANK YOU very much for this script!!! You're a doll. Now all I need to know is how to intergrate pictures into the messages that people post. The person posting the message needs to be able to put in a code like -smile- and have a smiley face show where it's placed in the message. Such as: Hello Everyone -smile- Thanks Again, Lesia