N00b Formmail Help Please - Odd Execution Error

liunx

Guest
Hi all,<br /><br />I've used FormMail before (just not on TCH). I've managed to get a form built (<!-- m --><a class="postlink" href="http://www.kevin-jarrett.net/ncs-tech/request-template.htm">http://www.kevin-jarrett.net/ncs-tech/r ... mplate.htm</a><!-- m -->) and the script installed & configured ... the prog is executing (thanks Rick), but I'm getting this error now:<br /><br />Application Error<br />An error has occurred in the program <br />Invalid [] range "睢囬潬鐑も偓-3" in transliteration operator at formmail.pl line 569. <br /><br />Pasting the code into Excel to get line numbers, I see this as the code in question (full routine quoted, complete script attached):<br /><br /> if ($secure) {<br /> # Allow no unusual characters and impose a length limit. We<br /> # need to allow extended ASCII characters because they can<br /> # occur in non-English names.<br /> $realname =~ tr# a-zA-Z0-9_\-,./'\200-377##dc;<br /> $realname = substr $realname, 0, 128;<br /> } else {<br /> # Be as generous as possible without opening any known or<br /> # strongly suspected relaying holes.<br /> $realname =~ tr#()\\#{}/#;<br /> }<br /><br />Specifically, line 569 is "$realname =~ tr# a-zA-Z0-9_\-,./'\200-377##dc;"<br /><br />Can anyone tell me what's wrong? I am using the TCH version of FormMail. Should I use Matt Wright's instead?<br /><br />TIA,<br /><br />-kj-<!--content-->
Change that line from:<br /><br />$realname =~ tr# a-zA-Z0-9_\-,./'\<!--coloro:red--><span style="color:red"><!--/coloro-->200-377<!--colorc--></span><!--/colorc-->##dc;<br /><br />to:<br /><br />$realname =~ tr# a-zA-Z0-9_\-,./'\<!--coloro:red--><span style="color:red"><!--/coloro-->200-\377<!--colorc--></span><!--/colorc-->##dc;<!--content-->
Beauty! Thanks. With CrazeeGeeks like you, who needs tech support! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /><!--content-->
Ahem..... Naughty Don't forget who recommended that you come here. :Nerd:<!--content-->
 
Back
Top