kjarrett Posted September 1, 2003 Posted September 1, 2003 Hi all, I've used FormMail before (just not on TCH). I've managed to get a form built (http://www.kevin-jarrett.net/ncs-tech/request-template.htm) and the script installed & configured ... the prog is executing (thanks Rick), but I'm getting this error now: Application Error An error has occurred in the program Invalid [] range "þƒ¿¿¿¾€-3" in transliteration operator at formmail.pl line 569. Pasting the code into Excel to get line numbers, I see this as the code in question (full routine quoted, complete script attached): if ($secure) { # Allow no unusual characters and impose a length limit. We # need to allow extended ASCII characters because they can # occur in non-English names. $realname =~ tr# a-zA-Z0-9_\-,./'\200-377##dc; $realname = substr $realname, 0, 128; } else { # Be as generous as possible without opening any known or # strongly suspected relaying holes. $realname =~ tr#()\\#{}/#; } Specifically, line 569 is "$realname =~ tr# a-zA-Z0-9_\-,./'\200-377##dc;" Can anyone tell me what's wrong? I am using the TCH version of FormMail. Should I use Matt Wright's instead? TIA, -kj- Quote
TCH-Dick Posted September 1, 2003 Posted September 1, 2003 Change that line from: $realname =~ tr# a-zA-Z0-9_\-,./'\200-377##dc; to: $realname =~ tr# a-zA-Z0-9_\-,./'\200-\377##dc; Quote
TCH-Rick Posted September 1, 2003 Posted September 1, 2003 Ahem..... Naughty Don't forget who recommended that you come here. :Nerd: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.