  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: account.php 685 2006-08-14 17:17:56Z hpdl $ |
| |
| 3 | + | $Id: account.php 733 2006-08-20 15:32:32Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
50 | 50 | | $Qcustomer->bindValue(':customers_email_address', $data['email_address']); |
| |
51 | 51 | | $Qcustomer->bindValue(':customers_newsletter', (isset($data['newsletter']) && ($data['newsletter'] == '1') ? '1' : '')); |
| |
52 | 52 | | $Qcustomer->bindValue(':customers_status', '1'); |
  |
53 | | - | $Qcustomer->bindValue(':customers_ip_address', tep_get_ip_address()); |
| |
| 53 | + | $Qcustomer->bindValue(':customers_ip_address', osc_get_ip_address()); |
  |
54 | 54 | | $Qcustomer->bindValue(':customers_password', tep_encrypt_password($data['password'])); |
| |
55 | 55 | | $Qcustomer->bindValue(':customers_gender', (((ACCOUNT_GENDER > -1) && isset($data['gender']) && (($data['gender'] == 'm') || ($data['gender'] == 'f'))) ? $data['gender'] : '')); |
| |
56 | 56 | | $Qcustomer->bindValue(':customers_dob', ((ACCOUNT_DATE_OF_BIRTH == '1') ? date('Ymd', $data['dob']) : '')); |