In the event you download software from this website, the software, including any files, images incorporated in or generated by the software, and data accompanying the software (collectively, the "Software") are licensed to you, by us for your personal, noncommercial use only. We do not transfer title to the Software to you. You own the medium on which the Software is recorded, but we retain full and complete title to the Software and all intellectual property rights therein. You may redistribute it along with this notice.However, you may not sell, de-compile, reverse engineer, disassemble. or otherwise reduce the Software to a human-readable form.

This software is provided "as is" without warranty of any kind. The entire risk as to the results and the performance of the software is assumed by the user, and in no event shall ZeksGeeks be liable for any consequential, incidental or direct damages suffered in the course of using the software

If you agree to these terms enter your email address in the form below and click to accept the terms'; }else{ if($_POST['submit'] == "I Do Not Accept"){ /* Redirect to a different page in the current directory that was requested */ $host = $_SERVER['HTTP_HOST']; $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); $extra = 'home.html'; header("Location: http://$host$uri/$extra"); exit; } } /*echo "This is the stuff
"; echo $submit; echo "
"; echo "first = $first
"; echo "email = $email
"; echo "program name = $pgname
"; //echo "the remote host = "; echo $_SERVER['REMOTE_ADDR']; echo "
"; */ $req_host_name = gethostbyaddr($_SERVER['REMOTE_ADDR']); //echo $hostname; //here we check if the email is if ((empty($email)) || (!CheckMail($email))){ echo '
'; if($first !="yes"){ echo " You must enter a valid email address to indicate acceptance of the agreement
"; } echo "
Your Email: *
"; }else{ // Connect To Database $hostname=""; $username="gldownloadinfo"; $password="PW4geeks"; /*$hostname="localhost"; $username="download_info"; $password="";*/ $dbname="download_info"; $usertable="download_hist"; $yourfield = "email_add"; $connection=mysql_connect($hostname,$username, $password) OR DIE ("Unable to connect to database! Please try again later."); //echo " connection returned $connection
"; mysql_select_db($dbname); $dttm=date("Ymd G:i:s"); //echo " the timestamp =$dttm
"; //echo " the email $email
"; //$query = "INSERT INTO $usertable (email_add,host_name,reg_date)values('$email','$req_host_name','$dttm')"; //$result = mysql_query($query); //echo " the insert query returned $result
"; $query1 = "SELECT dl_count FROM $usertable WHERE email_add = '$email'"; $result1 = mysql_query($query1); //echo " the query returned $result1
"; $select_count = mysql_affected_rows(); //echo "rows returned = $select_count
"; //echo "
"; if($result1) { //echo "got a result
"; while($row = mysql_fetch_array($result1)){ $count = $row["dl_count"]; //echo "down load count : ".$count; if($count >0){ //echo " email add exist updating count
"; $query2 = "update $usertable set dl_count = $count+1 where `email_add` = '$email'"; $result2 = mysql_query($query2); } } } if($select_count < 1){ //echo "inserting new row
"; $query3 = "INSERT INTO $usertable (email_add,host_name,reg_date)values('$email','$req_host_name','$dttm')"; $result = mysql_query($query3); } mysql_close($connection); //echo "
"; echo " download gamelauncher.jar the program "; echo "

Go home"; } // this function checks if the email format is OK function CheckMail($email){ if(eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\.[a-z]{2,4}$",$email)) { return true; }else{ return false; } } ?>