- define('__COMPANY' , COMPILE_CODE($HTTP_POST_VARS['company']));
- define('__POSITION' , COMPILE_CODE($HTTP_POST_VARS['position']));
- define('__TAX_IDENT', COMPILE_CODE($HTTP_POST_VARS['tax_ident']));
- define('__SURNAME' , COMPILE_CODE($HTTP_POST_VARS['surname']));
- define('__FAMILY' , COMPILE_CODE($HTTP_POST_VARS['family']));
- define('__STREET1' , COMPILE_CODE($HTTP_POST_VARS['street_nr1']));
- define('__STREET2' , COMPILE_CODE($HTTP_POST_VARS['street_nr2']));
- define('__COUNTRY' , COMPILE_CODE($HTTP_POST_VARS['country']));
- define('__ZIP' , COMPILE_CODE($HTTP_POST_VARS['zip']));
- define('__CITY' , COMPILE_CODE($HTTP_POST_VARS['city']));
- define('__PHONE' , COMPILE_CODE($HTTP_POST_VARS['phone']));
- define('__FAX' , COMPILE_CODE($HTTP_POST_VARS['fax']));
- define('__CELL' , COMPILE_CODE($HTTP_POST_VARS['cell']));
- define('__EMAIL' , COMPILE_CODE($HTTP_POST_VARS['email']));
- define('__URL' , COMPILE_CODE($HTTP_POST_VARS['url']));
-
- // Check for salutation selection
- switch ($HTTP_POST_VARS['salut'])
+ define('__COMPANY' , COMPILE_CODE($_POST['company']));
+ define('__POSITION' , COMPILE_CODE($_POST['position']));
+ define('__TAX_IDENT', COMPILE_CODE($_POST['tax_ident']));
+ define('__SURNAME' , COMPILE_CODE($_POST['surname']));
+ define('__FAMILY' , COMPILE_CODE($_POST['family']));
+ define('__STREET1' , COMPILE_CODE($_POST['street_nr1']));
+ define('__STREET2' , COMPILE_CODE($_POST['street_nr2']));
+ define('__COUNTRY' , COMPILE_CODE($_POST['country']));
+ define('__ZIP' , COMPILE_CODE($_POST['zip']));
+ define('__CITY' , COMPILE_CODE($_POST['city']));
+ define('__PHONE' , COMPILE_CODE($_POST['phone']));
+ define('__FAX' , COMPILE_CODE($_POST['fax']));
+ define('__CELL' , COMPILE_CODE($_POST['cell']));
+ define('__EMAIL' , COMPILE_CODE($_POST['email']));
+ define('__URL' , COMPILE_CODE($_POST['url']));
+
+ // Check for gender selection
+ switch ($_POST['gender'])