473,508 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send the user the id_user number in the subscription answer email

1 New Member
Hi,
In the fg_membersite.php file I would like to get the ['id_user'] variable under the function SendUserWelcomeEmail, so the subscriber will receive the registration number (a kind of ticket)...
Can someone help me on how to achieve this? I've been trying changes for months but I get nothing.

Where I tried to introduce modifications was below line 410... I thought that was as easy as call the variable $formavars[id_user'] but now way.

Many thanks in advance,

Eduard

here below the code

Expand|Select|Wrap|Line Numbers
  1. <?PHP
  2. /*
  3.     Registration/Login script from HTML Form Guide
  4.     V1.0
  5.  
  6.     This program is free software published under the
  7.     terms of the GNU Lesser General Public License.
  8.     http://www.gnu.org/copyleft/lesser.html
  9.  
  10.  
  11. This program is distributed in the hope that it will
  12. be useful - WITHOUT ANY WARRANTY; without even the
  13. implied warranty of MERCHANTABILITY or FITNESS FOR A
  14. PARTICULAR PURPOSE.
  15.  
  16. For updates, please visit:
  17. http://www.html-form-guide.com/php-form/php-registration-form.html
  18. http://www.html-form-guide.com/php-form/php-login-form.html
  19.  
  20. */
  21. require_once("class.phpmailer.php");
  22. require_once("formvalidator.php");
  23.  
  24. class FGMembersite
  25. {
  26.     var $admin_email;
  27.     var $from_address;
  28.     var $username;
  29.     var $id_user;
  30.     var $pwd;
  31.     var $database;
  32.     var $tablename;
  33.     var $connection;
  34.     var $rand_key;
  35.  
  36.     var $error_message;
  37.  
  38.     //-----Initialization -------
  39.     function FGMembersite()
  40.     {
  41.         $this->sitename = 'apaabatoliba.com';
  42.         $this->rand_key = '0iQx5oBk66oVZep';
  43.     }
  44.  
  45.     function InitDB($host,$uname,$pwd,$database,$tablename)
  46.     {
  47.         $this->db_host  = $host;
  48.         $this->username = $uname;
  49.         $this->pwd  = $pwd;
  50.         $this->database  = $database;
  51.         $this->tablename = $tablename;
  52.  
  53.     }
  54.     function SetAdminEmail($email)
  55.     {
  56.         $this->admin_email = $email;
  57.     }
  58.  
  59.     function SetWebsiteName($sitename)
  60.     {
  61.         $this->sitename = $sitename;
  62.     }
  63.  
  64.     function SetRandomKey($key)
  65.     {
  66.         $this->rand_key = $key;
  67.     }
  68.  
  69.     //-------Main Operations ----------------------
  70.     function RegisterUser()
  71.     {
  72.         if(!isset($_POST['submitted']))
  73.         {
  74.            return false;
  75.         }
  76.  
  77.         $formvars = array();
  78.  
  79.         if(!$this->ValidateRegistrationSubmission())
  80.         {
  81.             return false;
  82.         }
  83.  
  84.         $this->CollectRegistrationSubmission($formvars);
  85.  
  86.         if(!$this->SaveToDatabase($formvars))
  87.         {
  88.             return false;
  89.         }
  90.  
  91.         if(!$this->SendUserConfirmationEmail($formvars))
  92.         {
  93.             return false;
  94.         }
  95.  
  96.         $this->SendAdminIntimationEmail($formvars);
  97.  
  98.         return true;
  99.     }
  100.  
  101.     function ConfirmUser()
  102.     {
  103.         if(empty($_GET['code'])||strlen($_GET['code'])<=10)
  104.         {
  105.             $this->HandleError("Por favor, introduzca la clave de confirmación");
  106.             return false;
  107.         }
  108.         $user_rec = array();
  109.         if(!$this->UpdateDBRecForConfirmation($user_rec))
  110.         {
  111.             return false;
  112.         }
  113.  
  114.         $this->SendUserWelcomeEmail($user_rec);
  115.  
  116.         $this->SendAdminIntimationOnRegComplete($user_rec);
  117.  
  118.         return true;
  119.     }    
  120.  
  121.     function Login()
  122.     {
  123.         if(empty($_POST['username']))
  124.         {
  125.             $this->HandleError("UserName is empty!");
  126.             return false;
  127.         }
  128.  
  129.         if(empty($_POST['password']))
  130.         {
  131.             $this->HandleError("Password is empty!");
  132.             return false;
  133.         }
  134.  
  135.         $username = trim($_POST['username']);
  136.         $password = trim($_POST['password']);
  137.  
  138.         session_start();
  139.         if(!$this->CheckLoginInDB($username,$password))
  140.         {
  141.             return false;
  142.         }
  143.  
  144.         $_SESSION[$this->GetLoginSessionVar()] = $username;
  145.  
  146.         return true;
  147.     }
  148.  
  149.     function CheckLogin()
  150.     {
  151.          session_start();
  152.  
  153.          $sessionvar = $this->GetLoginSessionVar();
  154.  
  155.          if(empty($_SESSION[$sessionvar]))
  156.          {
  157.             return false;
  158.          }
  159.          return true;
  160.     }
  161.  
  162.     function UserFullName()
  163.     {
  164.         return isset($_SESSION['name_of_user'])?$_SESSION['name_of_user']:'';
  165.     }
  166.  
  167.     function UserEmail()
  168.     {
  169.         return isset($_SESSION['email_of_user'])?$_SESSION['email_of_user']:'';
  170.     }
  171.  
  172.     function LogOut()
  173.     {
  174.         session_start();
  175.  
  176.         $sessionvar = $this->GetLoginSessionVar();
  177.  
  178.         $_SESSION[$sessionvar]=NULL;
  179.  
  180.         unset($_SESSION[$sessionvar]);
  181.     }
  182.  
  183.     //-------Public Helper functions -------------
  184.     function GetSelfScript()
  185.     {
  186.         return htmlentities($_SERVER['PHP_SELF']);
  187.     }    
  188.  
  189.     function SafeDisplay($value_name)
  190.     {
  191.         if(empty($_POST[$value_name]))
  192.         {
  193.             return'';
  194.         }
  195.         return htmlentities($_POST[$value_name]);
  196.     }
  197.  
  198.     function RedirectToURL($url)
  199.     {
  200.         header("Location: $url");
  201.         exit;
  202.     }
  203.  
  204.     function GetSpamTrapInputName()
  205.     {
  206.         return 'sp'.md5('KHGdnbvsgst'.$this->rand_key);
  207.     }
  208.  
  209.     function GetErrorMessage()
  210.     {
  211.         if(empty($this->error_message))
  212.         {
  213.             return '';
  214.         }
  215.         $errormsg = nl2br(htmlentities($this->error_message));
  216.         return $errormsg;
  217.     }    
  218.     //-------Private Helper functions-----------
  219.  
  220.     function HandleError($err)
  221.     {
  222.         $this->error_message .= $err."\r\n";
  223.     }
  224.  
  225.     function HandleDBError($err)
  226.     {
  227.         $this->HandleError($err."\r\n mysqlerror:".mysql_error());
  228.     }
  229.  
  230.     function GetFromAddress()
  231.     {
  232.         if(!empty($this->from_address))
  233.         {
  234.             return $this->from_address;
  235.         }
  236.  
  237.         $host = $_SERVER['SERVER_NAME'];
  238.  
  239.         $from ="APA ABAT OLIBA";
  240.         return $from;
  241.     } 
  242.  
  243.     function GetLoginSessionVar()
  244.     {
  245.         $retvar = md5($this->rand_key);
  246.         $retvar = 'usr_'.substr($retvar,0,10);
  247.         return $retvar;
  248.     }
  249.  
  250.     function CheckLoginInDB($username,$password)
  251.     {
  252.         if(!$this->DBLogin())
  253.         {
  254.             $this->HandleError("Error de login!");
  255.             return false;
  256.         }          
  257.         $username = $this->SanitizeForSQL($username);
  258.         $pwdmd5 = md5($password);
  259.         $qry = "Select name, email from $this->tablename where username='$username' and password='$pwdmd5' and confirmcode='y'";
  260.  
  261.         $result = mysql_query($qry,$this->connection);
  262.  
  263.         if(!$result || mysql_num_rows($result) <= 0)
  264.         {
  265.             $this->HandleError("Error de login. Cognoms o password no coincideixen");
  266.             return false;
  267.         }
  268.  
  269.         $row = mysql_fetch_assoc($result);
  270.  
  271.  
  272.         $_SESSION['name_of_user']  = $row['name'];
  273.         $_SESSION['email_of_user'] = $row['email'];
  274.  
  275.         return true;
  276.     }
  277.  
  278.     function UpdateDBRecForConfirmation(&$user_rec)
  279.     {
  280.         if(!$this->DBLogin())
  281.         {
  282.             $this->HandleError("Error de login a la base de dades!");
  283.             return false;
  284.         }   
  285.         $confirmcode = $this->SanitizeForSQL($_GET['code']);
  286.  
  287.         $result = mysql_query("Select name, email from $this->tablename where confirmcode='$confirmcode'",$this->connection);   
  288.         if(!$result || mysql_num_rows($result) <= 0)
  289.         {
  290.             $this->HandleError("Wrong confirm code.");
  291.             return false;
  292.         }
  293.         $row = mysql_fetch_assoc($result);
  294.         $user_rec['name'] = $row['name'];
  295.         $user_rec['email']= $row['email'];
  296.  
  297.         $qry = "Update $this->tablename Set confirmcode='y' Where  confirmcode='$confirmcode'";
  298.  
  299.         if(!mysql_query( $qry ,$this->connection))
  300.         {
  301.             $this->HandleDBError("Error inserting data to the table\nquery:$qry");
  302.             return false;
  303.         }      
  304.         return true;
  305.     }
  306.  
  307.     function SendUserWelcomeEmail(&$user_rec)
  308.     {
  309.         $mailer = new PHPMailer();
  310.  
  311.         $mailer->CharSet = 'ISO-8859-1';
  312.  
  313.         $mailer->AddAddress($user_rec['email'],$user_rec['name'],$user_rec['id_user']);
  314.  
  315.         $mailer->Subject = "Bienvenido ".$this->sitename;
  316.  
  317.         $mailer->From = $this->GetFromAddress();        
  318.  
  319.         $mailer->Body ="Hola, ".$user_rec['name']."\r\n\r\n".
  320.         "Bienvenido! Se ha inscrito al taller de cocina de ".$this->sitename.".\r\n".
  321.         "Recuerde que sólo las 40 primeras famílias están debidamente registradas ".".\r\n".
  322.         "Su número es el".$user_rec['id_user']."\r\n".
  323.         "\r\n".
  324.         "Saludos,\r\n".
  325.         "APA ABAT OLIBA\r\n".
  326.         $this->sitename;
  327.  
  328.         if(!$mailer->Send())
  329.         {
  330.             $this->HandleError("Error en el envío de mensaje de inscripción. contacto@apaabatoliba.com");
  331.             return false;
  332.         }
  333.         return true;
  334.     }
  335.  
  336.     function SendAdminIntimationOnRegComplete(&$user_rec)
  337.     {
  338.         if(empty($this->admin_email))
  339.         {
  340.             return false;
  341.         }
  342.         $mailer = new PHPMailer();
  343.  
  344.         $mailer->CharSet = 'utf-8';
  345.  
  346.         $mailer->AddAddress($this->admin_email);
  347.  
  348.         $mailer->Subject = "Inscripción completada correctamente: ".$user_rec['name'];
  349.  
  350.         $mailer->From = $this->GetFromAddress();         
  351.  
  352.         $mailer->Body ="Usuario registrado al taller de cocina ".$this->sitename."\r\n".
  353.         "Nom: ".$user_rec['name']."\r\n".
  354.         "Email address: ".$user_rec['email']."\r\n";
  355.  
  356.         if(!$mailer->Send())
  357.         {
  358.             return false;
  359.         }
  360.         return true;
  361.     }
  362.  
  363.     function ValidateRegistrationSubmission()
  364.     {
  365.         //This is a hidden input field. Humans won't fill this field.
  366.         if(!empty($_POST[$this->GetSpamTrapInputName()]) )
  367.         {
  368.             //The proper error is not given intentionally
  369.             $this->HandleError("Automated submission prevention: case 2 failed");
  370.             return false;
  371.         }
  372.  
  373.         $validator = new FormValidator();
  374.         $validator->addValidation("name","req","Please fill in Name");
  375.         $validator->addValidation("email","email","The input for Email should be a valid email value");
  376.         $validator->addValidation("email","req","Please fill in Email");
  377.         $validator->addValidation("username","req","Please fill in UserName");
  378.       $validator->addValidation("phone_number","req","Please fill in UserName");
  379.       $validator->addValidation("adults","req","Please fill in UserName");
  380.       $validator->addValidation("sons","req","Please fill in UserName");
  381.         $validator->addValidation("password","req","Please fill in Password");
  382.  
  383.  
  384.         if(!$validator->ValidateForm())
  385.         {
  386.             $error='';
  387.             $error_hash = $validator->GetErrors();
  388.             foreach($error_hash as $inpname => $inp_err)
  389.             {
  390.                 $error .= $inpname.':'.$inp_err."\n";
  391.             }
  392.             $this->HandleError($error);
  393.             return false;
  394.         }        
  395.         return true;
  396.     }
  397.  
  398.     function CollectRegistrationSubmission(&$formvars)
  399.     {
  400.         $formvars['name'] = $this->Sanitize($_POST['name']);
  401.         $formvars['id_user'] = $this->Sanitize($_POST['id_user']);
  402.         $formvars['email'] = $this->Sanitize($_POST['email']);
  403.         $formvars['username'] = $this->Sanitize($_POST['username']);
  404.       $formvars['phone_number'] = $this->Sanitize($_POST['phone_number']);
  405.       $formvars['adults'] = $this->Sanitize($_POST['adults']);
  406.       $formvars['sons'] = $this->Sanitize($_POST['sons']);
  407.         $formvars['password'] = $this->Sanitize($_POST['password']);
  408.     }
  409.  
  410.     function SendUserConfirmationEmail(&$formvars)
  411.     {
  412.         $mailer = new PHPMailer();
  413.  
  414.         $mailer->CharSet = 'utf-8';
  415.  
  416.         $mailer->AddAddress($formvars['email'],$formvars['name'],$formvars['id_user']);
  417.  
  418.         $mailer->Subject = "Registro al taller de cocina de ".$this->sitename;
  419.  
  420.         $mailer->From = $this->GetFromAddress();        
  421.  
  422.         $confirmcode = $formvars['confirmcode'];
  423.  
  424.         $confirm_url = $this->GetAbsoluteURLFolder().'/confirmreg.php?code='.$confirmcode;
  425.  
  426.         $mailer->Body ="Hola ".$formvars['name'].","."\r\n\r\n".
  427.         "Gracias por registrarse al taller de cocina del ".$this->sitename."\r\n".
  428.         "Recuerde que el aforo está limitado a las 40 primeras familias."."\r\n".
  429.         "".$formvars['id_user']."\r\n".
  430.         "\r\n".
  431.         "Atentamente,\r\n".
  432.         "\r\n".
  433.         "APA ABAT OLIBA\r\n".
  434.         $this->sitename;
  435.  
  436.         if(!$mailer->Send())
  437.         {
  438.             $this->HandleError("Error al enviar l'email de confirmació de registre.");
  439.             return false;
  440.         }
  441.         return true;
  442.     }
  443.     function GetAbsoluteURLFolder()
  444.     {
  445.         $scriptFolder = (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) ? 'https://' : 'http://';
  446.         $scriptFolder .= $_SERVER['HTTP_HOST'] . dirname($_SERVER['REQUEST_URI']);
  447.         return $scriptFolder;
  448.     }
  449.  
  450.     function SendAdminIntimationEmail(&$formvars)
  451.     {
  452.         if(empty($this->admin_email))
  453.         {
  454.             return false;
  455.         }
  456.         $mailer = new PHPMailer();
  457.  
  458.         $mailer->CharSet = 'utf-8';
  459.  
  460.         $mailer->AddAddress($this->admin_email);
  461.  
  462.         $mailer->Subject = "Registro al Taller de cocina: ".$formvars['name'];
  463.  
  464.         $mailer->From = $this->GetFromAddress();         
  465.  
  466.         $mailer->Body ="Usuario resgistrado al Taller de Cocina".$this->sitename."\r\n".
  467.         "Nom: ".$formvars['name']."\r\n".
  468.         "Cognoms: ".$formvars['username']."\r\n".
  469.         "Email: ".$formvars['email']."\r\n".
  470.         "Adultos: ".$formvars['adults']."\r\n".
  471.         "Hijos: ".$formvars['sons']."\r\n";
  472.  
  473.         if(!$mailer->Send())
  474.         {
  475.             return false;
  476.         }
  477.         return true;
  478.     }
  479.  
  480.     function SaveToDatabase(&$formvars)
  481.     {
  482.         if(!$this->DBLogin())
  483.         {
  484.             $this->HandleError("Impossible connectar!");
  485.             return false;
  486.         }
  487.         if(!$this->Ensuretable())
  488.         {
  489.             return false;
  490.         }
  491.         if(!$this->IsFieldUnique($formvars,'email'))
  492.         {
  493.             $this->HandleError("Aquest email ja existeix");
  494.             return false;
  495.         }
  496.  
  497.         if(!$this->IsFieldUnique($formvars,'username'))
  498.         {
  499.             $this->HandleError("Aquests cognoms ja s'han utilitzat");
  500.             return false;
  501.         }        
  502.         if(!$this->InsertIntoDB($formvars))
  503.         {
  504.             $this->HandleError("Inserting to Database failed!");
  505.             return false;
  506.         }
  507.         return true;
  508.     }
  509.  
  510.     function IsFieldUnique($formvars,$fieldname)
  511.     {
  512.         $field_val = $this->SanitizeForSQL($formvars[$fieldname]);
  513.         $qry = "select username from $this->tablename where $fieldname='".$field_val."'";
  514.         $result = mysql_query($qry,$this->connection);   
  515.         if($result && mysql_num_rows($result) > 0)
  516.         {
  517.             return false;
  518.         }
  519.         return true;
  520.     }
  521.  
  522.     function DBLogin()
  523.     {
  524.  
  525.         $this->connection = mysql_connect($this->db_host,$this->username,$this->pwd);
  526.  
  527.         if(!$this->connection)
  528.         {   
  529.             $this->HandleDBError("rror de connexio! Si-et-plau, verifica les teves dades");
  530.             return false;
  531.         }
  532.         if(!mysql_select_db($this->database, $this->connection))
  533.         {
  534.             $this->HandleDBError('Impossible connectar a la Base de dades: '.$this->database.' Revisa les teves dades');
  535.             return false;
  536.         }
  537.         if(!mysql_query("SET NAMES 'UTF8'",$this->connection))
  538.         {
  539.             $this->HandleDBError('Error setting utf8 encoding');
  540.             return false;
  541.         }
  542.         return true;
  543.     }    
  544.  
  545.     function Ensuretable()
  546.     {
  547.         $result = mysql_query("SHOW COLUMNS FROM $this->tablename");   
  548.         if(!$result || mysql_num_rows($result) <= 0)
  549.         {
  550.             return $this->CreateTable();
  551.         }
  552.         return true;
  553.     }
  554.  
  555.     function CreateTable()
  556.     {
  557.         $qry = "Create Table $this->tablename (".
  558.                 "id_user INT NOT NULL AUTO_INCREMENT ,".
  559.                 "hour TIMESTAMP NOT NULL ,".
  560.                 "name VARCHAR( 128 ) NOT NULL ,".
  561.                 "email VARCHAR( 64 ) NOT NULL ,".
  562.                 "phone_number VARCHAR( 16 ) NOT NULL ,".
  563.             "adults VARCHAR (126) NOT NULL,".
  564.             "sons VARCHAR (126) NOT NULL,".
  565.                 "username VARCHAR( 16 ) NOT NULL ,".
  566.                 "password VARCHAR( 32 ) NOT NULL ,".
  567.                 "confirmcode VARCHAR(32) ,".
  568.                 "PRIMARY KEY ( id_user )".
  569.                 ")";
  570.  
  571.         if(!mysql_query($qry,$this->connection))
  572.         {
  573.             $this->HandleDBError("Error creating the table \nquery was\n $qry");
  574.             return false;
  575.         }
  576.         return true;
  577.     }
  578.  
  579.     function InsertIntoDB(&$formvars)
  580.     {
  581.  
  582.         $confirmcode = $this->MakeConfirmationMd5($formvars['email']);
  583.  
  584.         $formvars['confirmcode'] = $confirmcode;
  585.  
  586.         $insert_query = 'insert into '.$this->tablename.'(
  587.                 name,
  588.                 email,
  589.                 username,
  590.                 phone_number,
  591.                 adults,
  592.                 sons,
  593.                 password,
  594.                 confirmcode
  595.                 )
  596.                 values
  597.                 (
  598.                 "' . $this->SanitizeForSQL($formvars['name']) . '",
  599.                 "' . $this->SanitizeForSQL($formvars['email']) . '",
  600.                 "' . $this->SanitizeForSQL($formvars['username']) . '",
  601.             "' . $this->SanitizeForSQL($formvars['phone_number']) . '",
  602.             "' . $this->SanitizeForSQL($formvars['adults']) . '",
  603.             "' . $this->SanitizeForSQL($formvars['sons']) . '",
  604.                 "' . md5($formvars['password']) . '",
  605.                 "' . $confirmcode . '"
  606.                 )';      
  607.         if(!mysql_query( $insert_query ,$this->connection))
  608.         {
  609.             $this->HandleDBError("Error inserting data to the table\nquery:$insert_query");
  610.             return false;
  611.         }        
  612.         return true;
  613.     }
  614.     function MakeConfirmationMd5($email)
  615.     {
  616.         $randno1 = rand();
  617.         $randno2 = rand();
  618.         return md5($email.$this->rand_key.$randno1.''.$randno2);
  619.     }
  620.     function SanitizeForSQL($str)
  621.     {
  622.         if( function_exists( "mysql_real_escape_string" ) )
  623.         {
  624.               $ret_str = mysql_real_escape_string( $str );
  625.         }
  626.         else
  627.         {
  628.               $ret_str = addslashes( $str );
  629.         }
  630.         return $ret_str;
  631.     }
  632.  
  633.  /*
  634.     Sanitize() function removes any potential threat from the
  635.     data submitted. Prevents email injections or any other hacker attempts.
  636.     if $remove_nl is true, newline chracters are removed from the input.
  637.     */
  638.     function Sanitize($str,$remove_nl=true)
  639.     {
  640.         $str = $this->StripSlashes($str);
  641.  
  642.         if($remove_nl)
  643.         {
  644.             $injections = array('/(\n+)/i',
  645.                 '/(\r+)/i',
  646.                 '/(\t+)/i',
  647.                 '/(%0A+)/i',
  648.                 '/(%0D+)/i',
  649.                 '/(%08+)/i',
  650.                 '/(%09+)/i'
  651.                 );
  652.             $str = preg_replace($injections,'',$str);
  653.         }
  654.  
  655.         return $str;
  656.     }    
  657.     function StripSlashes($str)
  658.     {
  659.         if(get_magic_quotes_gpc())
  660.         {
  661.             $str = stripslashes($str);
  662.         }
  663.         return $str;
  664.     }    
  665. }
  666. ?>
Nov 17 '12 #1
0 1151

Sign in to post your reply or Sign up for a free account.

Similar topics

4
9410
by: jas | last post by:
I have a basic client/server socket situation setup....where the server accepts a connection and then waits for commands. On the client side, I create a socket, connect to the server...then I...
0
1878
by: cronept | last post by:
Hi, there, I have a form with 2 email buttons both with docmd.sendobject code. The 1st one send a report which is working properly. The 2nd one send a query in xls format which is always get an...
3
1895
by: Ruth | last post by:
I need to modify my send email subroutine in VB6 to recognize hyperlinks when the user enters them in the textbox. I am using the CDO.Message object. Any suggestions? From...
0
2230
by: ArtDerailed | last post by:
Hello there, I too am having a somewhat similar problem and would very much appreciate some assistance. Through PHP, I have already set up my Flash actionscript to pass info and variables onto a...
0
1128
by: Tips | last post by:
The code below renders a datagrid and send its contents by email. Dim SB as New StringBuilder() Dim SW as New StringWriter(SB) Dim htmlTW as New HtmlTextWriter(SW)...
3
2484
by: td0g03 | last post by:
Like the titles says I'm suppose to generate a random number then divide that by a number inputed by a user. The random number can range from 2-8. I tried to do the code, but I get some weird result...
2
2225
LeoTD
by: LeoTD | last post by:
Dear all, I have intranet site on Linux server using PHP where only people who have account can log in. My site has a link to another intranet side on IIS using PHP. This site...
3
2332
by: groupie | last post by:
Hi, I'd like to know how to implement the "Forgot Password" feature on many websites which require a login, exactly like this ebay example:...
12
9023
by: forrestgump | last post by:
I am currently trying to create VBA to send a specified excel sheet to varied email sources. I currently have the code below which sends the attachment in an email to a specified source e.g....
4
1682
by: suganya | last post by:
Hi By getting the email id from txtEmailId, I have to send the user name & password to that particular email id. For that on button click event I have given the coding as Protected Sub...
0
7128
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7332
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7058
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5635
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
426
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.