Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Active Members List - Complete Date: Wed, 23 Feb 2000 00:44:40 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: <890bp9$6g1@chuka.playstation.co.uk> References: <88p46g$fb88@chuka.playstation.co.uk> <88q45v$k2h1@chuka.playstation.co.uk> <38b2b5f9.611412454@news.playstation.co.uk> NNTP-Posting-Host: th-gt141-024.pool.dircon.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 > Rikki, > > The +'s should be converted to a hex code by the web browser when > submitting the form. When you run across that particular hex code, > you'll know they mean + and not space. > > If I knew you'd write it in perl, I would have given you a tiny > library I used to use back since the beginning of time (lots when I > was working at Razorfish). It makes perl CGI very simple. > > Steven Hi Steven, I found that the problem was only with the plus signs when reading from the file, not taking the info from the form and saving it. Checking back, I realised I had been saving the input after swapping the hex codes for the actual characters and plus signs (for spaces), and had left the remove hex code and plus signs in the reading code of the display script. This basically meant that the code was checking through the stored input *again* and removing pluses which it shouldn't have. I have now removed the bit of code doing this in the output script, so it should all work properly. Rikki