0 || mysql_num_rows($qryNewUsers) >0) $msg = "User with this Email address already exists. "; if( $msg == "") { if(isset($_POST['report'])) $rep = 'Y'; else $rep = 'N'; $sessionid = session_id(); $qry="insert into tbl_newusers(emailid,password,name,company,address,state,country,city,zip,aemail,aemail1,aemail2,aemail3,aemail4,report,joindate,sessionid,timezone,mobile,mobile1,mobile2,mobile3,mobile4) values('".$_POST['txtemailid']."','".$_POST['txtpassword']."','".$_POST['txtname']."','" .$_POST['txtcompany']."','".$_POST['txtaddress']."','".$_POST['txtstate']."','".$_POST['txtcountry']."','".$_POST['txtcity']."','" .$_POST['txtzipcode']."','".$_POST['alertemail']."','".$_POST['alertemail1']."','".$_POST['alertemail2']."','".$_POST['alertemail3']."','".$_POST['alertemail4']."', '" .$rep."','" .date('Y-m-d')."','".$sessionid."',$_POST[txttimezone],'$_POST[txtmobile]','$_POST[txtmobile1]','$_POST[txtmobile2]','$_POST[txtmobile3]','$_POST[txtmobile4]')"; mysql_query($qry); /************************************************************************** Activating Mail ***************************************************************************/ $qry = "select * from tbl_newusers where userid = ".mysql_insert_id(); $qry = mysql_query($qry); $res = mysql_fetch_array($qry); $res_mail = mysql_fetch_array(mysql_query("select * from tbl_mailing where id = 1")); $desc[0] = $res_mail['mail_txt']; $desc[1] = $res_mail['mail_sub']; $desc = implode('^|^',$desc); $desc = str_replace('%%name%%',$res['name'],$desc); $desc = str_replace('%%emailid%%',$res['emailid'],$desc); $desc = str_replace('%%password%%',$res['password'],$desc); $desc = str_replace('%%joindate%%',date('m-d-Y',strtotime($res['joindate'])),$desc); $desc = str_replace('%%company%%',$res['company'],$desc); $desc = str_replace('%%address%%',$res['address'],$desc); $desc = str_replace('%%city%%',$res['city'],$desc); $desc = str_replace('%%zip%%',$res['zip'],$desc); $desc = str_replace('%%aemail%%',$res['aemail'],$desc); if(strstr($desc,'%%memtype%%')) { $q = mysql_fetch_array(mysql_query("select mem_name from tbl_memebership where m_id = $res[memetyp]")); $desc = str_replace('%%memtype%%',$q[0],$desc); } if(strstr($desc,'%%state%%')) { $q = mysql_fetch_array(mysql_query("select statename from tbl_states where stateid = $res[state]")); $desc = str_replace('%%state%%',$q[0],$desc); } if(strstr($desc,'%%country%%')) { $q = mysql_fetch_array(mysql_query("select name from tbl_country where countryid = $res[country]")); $desc = str_replace('%%country%%',$q[0],$desc); } $desc = explode('^|^',$desc); $message=""; $message.="
"; $message.="

"; $message.=html_entity_decode($desc[0]); $message.= "
To enable your account for $_POST[txtemailid], please click on this link :

"; $message.="www.netalyzer.com/users/confirm.php?activatecode=$sessionid

"; $message.="In exchange for provideing a free service, we ask that you link to us from your web site.
"; $message.="please see http://www.netalyzer.com/linktous.php for information.

"; $message.="If you have any questions about your service, please contact our team.
"; $message.=" $res_mail[mail_closing] "; // echo $message; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $res_mail[mail_from] < monitor@netalyzer.com >\r\n"; $to=$_POST['txtemailid']; //$subject=$res_mail['mail_sub']; @mail($to, $desc[1], $message, $headers); /*******************************************************************************/ header("Location: thankspage.php"); exit; }// ENDIF(MSG) }// if(act = add) }// if(isset) if(isset($_POST['txtcountry'])) { $strcid=$_POST['txtcountry']; }else{ $strcid=1; } ?> NETalyzer.com - your professional server and network monitoring watchdog

» Account Registration

To register for an account, please fill out the form below. You will receive an email requesting that you confirm your email address. Once this is completed, your account will be activated.

Your email address will be your login name and your default contact for alerts. You may add a secondary alert contact in your user control panel.

Required fields are noted with *. Your password should contain no less than 6 charactors.

Any personal data submitted is kept confidential. Please see our privacy policy for more information.

 
User Time Zone:
>