Click here to get back home

NMS Formmail question

 HomeNewsGroups | Search

alt.www.webmaster - All aspects of webmastering business 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
NMS Formmail question Neal 01-26-2005
Posted by Neal on January 26, 2005, 3:12 pm
Please log in for more thread options


After installing NMS on a new server, having issues.

Returning error:

Invalid range "þƒ¿¿¿¾€-3" in transliteration operator at (/***.pl)
line 573.

Line 573 marked with <<< below:

sub cleanup_realname {
my ($realname) = @_;

return '' unless defined $realname;

$realname =~ s#s+# #g;

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#()#{}/#;
}

return $realname;
}

This fails even if I do not set realname in the form. Worked fine on
the other server. Any ideas, or need for more info? (I need small
words as I'm not very skilled in Perl.)


Posted by Scott Bryce on January 26, 2005, 2:26 pm
Please log in for more thread options


Neal wrote:

show/hide quoted text
line
show/hide quoted text

You dropped a backslash somewhere.

$realname =~ tr# a-zA-Z0-9_-,./'200-377##dc;
^



Similar ThreadsPosted
webmail/formmail April 17, 2005, 3:34 am
FormMail Problems - Please help! April 21, 2005, 7:19 am
ASP or PHP FormMail Script May 25, 2005, 11:17 am
Problem with FormMail September 18, 2005, 6:17 am
PHP Formmail issues April 30, 2009, 8:50 am
403 errors with FormMail.pl on 1and1 October 7, 2005, 3:17 pm
Reality Check on Formmail Security March 16, 2010, 4:09 pm
FormMail "Submit Query" Button edit January 19, 2005, 1:32 pm
relatively simple/secure formmail script recommendation? September 10, 2007, 8:19 pm
Formmail, recaptcha, and custom error page March 12, 2010, 6:03 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy