MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Ideas about this order.profile error?



******    message to minivend-users from NOW Internet Coordinator <webperson@now.org>     ******

I don't think I've caused this, because I think the order.profile is the
same, but anyone know what is wrong?

171.209.83.177 XtQZAzjh:171.209.83.177 - [04/May/1999:22:42:56 -0400]
catalog /cgi-bin/catalog/process Safe: syntax error at (eval 32) line 5, at
EOF
>
>
> $state      = $Safe{'values'}->{state};
> $country    = $Safe{'values'}->{country};
> $zip        = $Safe{'values'}->{zip};
> $state_ok   = ;
> $country    =~ s/\W//g;
> $zip_ok     = ($zip =~ /^\s*\d\d\d\d\d(-\d\d\d\d)?\s*$/);
> $us         = ($country =~ /^(usa?|unitedstates)$/i);
>
> if (! $us) {
>     $state_ok = 1;
>       $zip_ok = 1;
> }
> $out = <<EOF;
> &set = mv_Not_a_state $state_ok
> &set = mv_Not_a_zip_code $zip_ok
> EOF
> $out;
>
>
------------------------------------------------------------------
Sarah  Stapleton-Gray
NOW LAN and Internet manager.  Please visit http://www.now.org/
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: