# locate the script
#
BEGIN {
-# my $null = $0; $null =~ s/\\/\//g; # for win :-(
-# $Bin = ($null =~ /^(.*)\/.*$/)? $1 : '.';
-# $Shared = "$Bin/../shared";
-# $Config = "$Bin/config";
-# $Script = ($null =~ /^.*\/(.*)$/)? $1 : $null;
-
- my $null = $0; #$null =~ s/\\/\//g; # for win :-(
+ my $null = $0; $null =~ s/\\/\//g; # for win :-(
$Bin = ($null =~ /^(.*)\/.*$/)? $1 : '.';
- $Config = "$Bin/../../../cgi-config/devforum";
- $Shared = "$Bin/../../../cgi-shared";
+ $Shared = "$Bin/../shared";
+ $Config = "$Bin/config";
$Script = ($null =~ /^.*\/(.*)$/)? $1 : $null;
+
+# my $null = $0; #$null =~ s/\\/\//g; # for win :-(
+# $Bin = ($null =~ /^(.*)\/.*$/)? $1 : '.';
+# $Config = "$Bin/../../../cgi-config/devforum";
+# $Shared = "$Bin/../../../cgi-shared";
+# $Script = ($null =~ /^.*\/(.*)$/)? $1 : $null;
}
use lib "$Shared";
#
(my $val_ww = $val) =~ s/\s+//g;
+ $val_ww =~ y/a-zA-Z//cd
+ if (exists ($formdata -> {$name {$_}} -> {type}) and $formdata -> {$name {$_}} -> {type} eq 'name');
+
if (length $val_ww < $formdata -> {$name {$_}} -> {minlength}) {
$self -> {error} = {
spec => 'too_short',