Changeset 312
- Timestamp:
- Mar 14, 2008, 11:16:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/register.php
r307 r312 307 307 $body = str_replace("<password>", substr(sha1(strtoupper($user_name)),0,7), $body); 308 308 $body = str_replace("<activate_link>", 309 $_SERVER['HTTP_HOST'].substr($_SERVER["SCRIPT_NAME"], 0, strrpos($_SERVER["SCRIPT_NAME"], '/'))."/register.php?action=do_pass_activate&h=".$sql->result($result, 0, ' I')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body);309 $_SERVER['HTTP_HOST'].substr($_SERVER["SCRIPT_NAME"], 0, strrpos($_SERVER["SCRIPT_NAME"], '/'))."/register.php?action=do_pass_activate&h=".$sql->result($result, 0, 'sha_pass_hash')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body); 310 310 $body = str_replace("<base_url>", $_SERVER['HTTP_HOST'], $body); 311 311
Note:
See TracChangeset
for help on using the changeset viewer.