"Hard return" causing hangups
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

"Hard return" causing hangups

From: Jimmy Clay (www.songofthecoyote.com) <jimclay@netzero.net>
Date: Sun Oct 30 2005 - 02:19:23 CEST

On my website I have Guestmap that is written in PHP. I did not write
it but got it from a freeware site. Anyway it works well, except I've
discovered that if someone writes a message and uses the enter key,
that will hangup the GuestMap. There is no error message, the icons
simple will not load and no one else can enter a message.

My solution is to have PHP code remove all hard returns form the
strings before they are stored in the database. But I'm not sure what
the code would be for that. I'm sure it's easy but I don't actually
know much about PHP programming.

Anyway my website is:
www.songofthecoyote.com

Thanks for any help you can give.
Jimmy
Received on Mon Nov 21 02:52:50 2005