/[locfinder]/locfinder/functions/func_users.php
ViewVC logotype

Diff of /locfinder/functions/func_users.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by yob, Thu Jan 16 13:56:55 2003 UTC revision 1.5 by yob, Thu Jan 16 14:05:42 2003 UTC
# Line 202  function email_user_confirm($username) { Line 202  function email_user_confirm($username) {
202    
203      $sql = "SELECT * from users where username='$username'";      $sql = "SELECT * from users where username='$username'";
204    
205      $loc_db->query("sql");      $loc_db->query($sql);
206    
207      $loc_db->next_record();      $loc_db->next_record();
208    
209      $to = $loc_db->f("email");      $to = $loc_db->f("email");
210      $subject = "[locfinder] User Confirmation";      $subject = "[locfinder] User Confirmation";
211      $headers = "From: " . $opt_maintainer_email . "\r\nX-Mailer: PHP/" . phpversion();      $headers = "From: " . $opt_maintainer_email . "\r\nX-Mailer: PHP/" . phpversion();
212      $message = "Hi" . $loc_db->f("name") . "\r\n\r\nThankyou for registering as a user with locfinder - to complete your registration, all you need to do is click on the link below.\r\n\r\nBest of luck getting your node active!\r\n\r\nhttp:\\" . $opt_server . $opt_loc_path . "index.php?action=confirm&username=" . $username . "&hash=" . $loc_db->f("password");      $message = "Hi" . $loc_db->f("name") . "\r\n\r\nThankyou for registering as a user with locfinder - to complete your registration, all you need to do is click on the link below.\r\n\r\nBest of luck getting your node active!\r\n\r\nhttp:\\\" . $opt_server . $opt_loc_path . "index.php?action=confirm&username=" . $username . "&hash=" . $loc_db->f("password");
213    
214      mail($to, $subject, $message, $headers);      mail($to, $subject, $message, $headers);
215    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26