[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
/cgi-bin/order/process Safe: syntax error at (eval 16) line 2, near "$Safe\" and AOL
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
I am confused as to why certain browsers cause problems with my checkout
profile! For 99.99% of my customers the store works perfectly, but every
once in a blue moon I get an error like this one:
abd74bf8.ipt.aol.com EXKr3W8y:proxy.aol.com - [29/March/1999:21:48:31
-0700] ord
er /cgi-bin/order/process Safe: syntax error at (eval 16) line 2, near
"$Safe\"
>
>
> $comments = $Safe\{'values'\}->\{comments\};
> $refer = $Safe\{'values'\}->\{refer\};
> $state = $Safe\{'values'\}->\{state\};
>
> $zip = $Safe\{'values'\}->\{zip\};
> $state_ok = $state =~ /^\\s*[A-Za-z][A-Za-z]\\s*$/;
> $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) \{
> return '';
> }
> $out = <<EOF;
> &set = mv_Not_a_state $state_ok
> &set = mv_Not_a_zip_code $zip_ok
> EOF
> return $out;
Anyone have a glimmer of an idea?
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
-
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