  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: mime.php 153 2005-08-04 12:57:59Z hpdl $ |
| |
| 3 | + | $Id: mime.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 |
| |
|
|
 |
… |
|
115 | 115 | | $encoded = $this->_encoded; |
| |
116 | 116 | | |
| |
117 | 117 | | if (tep_not_null($this->_subparts)) { |
  |
118 | | - | $boundary = '=_' . md5(uniqid(tep_rand()) . microtime()); |
| |
| 118 | + | $boundary = '=_' . md5(uniqid(osc_rand()) . microtime()); |
  |
119 | 119 | | $this->_headers['Content-Type'] .= ';' . $this->lf . chr(9) . 'boundary="' . $boundary . '"'; |
| |
120 | 120 | | |
| |
121 | 121 | | // Add body parts to $subparts |