* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Run a filter for must-fillout fields
function FILTER_REGISTER_MUST_FILLOUT ($filterData) {
// Get all fields for output
- die('!Ok');
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
- $result = SQL_QUERY('SELECT `field_name`,`field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC',
+ $result = sqlQuery('SELECT `field_name`, `field_required` FROM `{?_MYSQL_PREFIX?}_must_register` ORDER BY `id` ASC',
__FUNCTION__, __LINE__);
// Walk through all entries
- while ($row = SQL_FETCHARRAY($result)) {
+ while ($row = sqlFetchArray($result)) {
// Must the user fill out this element?
$value = '';
if ($row['field_required'] == 'Y') {
} // END - while
// Free memory
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
// Return it
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
postRequestElement('month') . '-' .
postRequestElement('day') . '-' .
postRequestElement('year') . getEncryptSeparator() .
- postRequestElement('pass1') . getEncryptSeparator() .
+ postRequestElement('password1') . getEncryptSeparator() .
detectServerName() . getEncryptSeparator() .
detectRemoteAddr() . getEncryptSeparator() .
detectUserAgent() . '/' .
setPostRequestElement('remote_addr', detectRemoteAddr());
// Generic initialization is done
- $filterData['init_done'] = true;
+ $filterData['init_done'] = TRUE;
// Return it
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- //* NOISY-DEBUG: */ print __FUNCTION__.':filterData=<pre>'.print_r($filterData,true).'</pre>';
+ //* NOISY-DEBUG: */ print __FUNCTION__.':filterData=<pre>'.print_r($filterData,TRUE).'</pre>';
return $filterData;
}