"; } elseif ($agreements <> "accept") { $errormsg .= "The Personal Use License and Contribution Agreement need to be accepted before a login can be created.
"; } elseif (strlen($NewPassword) < 4) { $errormsg .= "The password needs to be at least 4 characters.
"; } elseif (have_caps($Name) == "true") { $errormsg .= "The username needs to be all lowercase.
"; } elseif (!strstr($Email,"@") || !strstr($Email,".")) { $errormsg .= "Please enter a valid email address.
"; } if (!$errormsg) { //check to make sure this username isn't already in our database $sql = "select u.UserID as UserID from LUM_User u where u.Name = '" . $Name . "'"; $result = mysql_query($sql); $numrows = mysql_num_rows ($result); if ($numrows == 0) { //check to make sure passwords match if ($NewPassword == $ConfirmPassword) { //$password = md5($NewPassword); // in sql it looked like md5('qualset123') $thedate = date('Y-m-d H:i:s'); //we need it in 2008-03-11 13:29:07 $sql2 = "insert into LUM_User (FirstName, LastName, Name, Email, Password, DateFirstVisit, DateLastActive, CountVisit, CountDiscussions, CountComments, RoleID, StyleID, UtilizeEmail, Attributes, RemoteIp) values ('" . ereg_replace("'","''",$txt_firstname) . "', '" . ereg_replace("'","''",$txt_lastname) . "', '" . ereg_replace("'","''",$Name) . "', '" . $Email . "','" . md5($NewPassword). "', '" . $thedate . "', '" . $thedate . "', '0', '0', '0', '3', '0', '0', '', '" . $REMOTE_ADDR . "')"; mysql_query($sql2); //echo "sql2 is " . $sql2 . "
"; $newuserid = mysql_insert_id(); $sql4 = "insert into LUM_UserRoleHistory (UserID, RoleID, Date, AdminUserID, Notes, RemoteIp) values ('" . $newuserid . "', '3', '" . $thedate . "', '0', '', '" . $REMOTE_ADDR . "')"; //echo "sql4 is " . $sql4 . "
"; mysql_query($sql4); //insert into the STS_custom table with our custom fields $sql5 = "insert into STS_custom (UserID,company,title,agreements,eclipse_distribution,eclipse_version,use_spring_ide,use_mylyn,newsletter,password,country) VALUES (" . $newuserid . ",'" . ereg_replace("'","''",$txt_company) . "','" . $txt_title . "'," . time() . ",'" . ereg_replace("'","''",$txt_dist) . "','" . $select_version . "','" . $select_ide . "','" . $select_mylyn . "','" . $radio_newsletter . "','" . $NewPassword . "','" . $select_country . "')"; mysql_query($sql5); //put them into the htpasswd file create_htpasswd($NewPassword,$newuserid); //create the jira account create_jira($NewPassword,$newuserid); //Email everyone this new user's info $data = "Name: " . $txt_firstname . " " . $txt_lastname . "\n"; $data .= "Company: " . $txt_company. "\n"; $data .= "Username: " . $Name . " \n"; $data .= "Email: " . $Email. " \n"; $data .= "Do you use an Eclipse distribution (name/version)? " . $txt_dist. " \n"; $data .= "Which Eclipse Version are you using? " . $select_version . " \n"; $data .= "Do you use Spring IDE? " .$select_ide . " \n"; $data .= "Do you use Eclipse Mylyn? " . $select_mylyn . " \n"; $data .= "Subscribe to announce newsletter? " . $radio_newsletter . " \n"; $data .= "Subscribe to userslist newsletter? " . $radio_userslist . " \n"; MyMail($data,"STS Beta - New User: " . $txt_firstname . " " . $txt_lastname . " (" . $Email . ")", "adam.qualset@springsource.com", "adam.qualset@springsource.com",0); if ($radio_newsletter == "Yes") { //for the two newsletters url and fullname and send_data stay the same $url = "lists.springsource.com"; $fullname = urlencode($firstname . " " . $lastname); $send_data = "email=" . $Email . "&fullname=" . $fullname . "&language=en&digest=0&email-button=Subscribe"; $path = "/listmanager/subscribe/sts-announce"; //$buffer = sendToHost($url,"POST",$path,$send_data,1,0); MyMail($send_data . "\n\n" . $buffer,"STS - User Add for sts-announce@ (" . $Email . ")", "adam.qualset@springsource.com", "adam.qualset@springsource.com",0); } if ($radio_userslist == "Yes") { //for the two newsletters url and fullname and send_data stay the same $url = "lists.springsource.com"; $fullname = urlencode($firstname . " " . $lastname); $send_data = "email=" . $Email . "&fullname=" . $fullname . "&language=en&digest=0&email-button=Subscribe"; $path = "/listmanager/subscribe/sts-users"; $buffer = sendToHost($url,"POST",$path,$send_data,1,0); MyMail($send_data . "\n\n" . $buffer,"STS - User Add for sts-users@ " . $Email, "adam.qualset@springsource.com", "adam.qualset@springsource.com",0); } /////////////////////////////////////////////////////// // Send it to loopfuse /////////////////////////////////////////////////////// //cycle through all the _POST variables in the form while (list($result_name, $result_value) = each($_POST)) { //uncomment the below for debugging //echo $result_name . ":" . $result_value . "
"; //put all the variables in the format to send to loopfuse if ($result_name <> "NewPassword" && $result_name <> "ConfirmPassword") { $loopdata .= $result_name . "=" . $result_value . "&"; } } //remove the last & $loopdata = substr($loopdata,0,(strlen($loopdata)-1)); //for debugging: view what you are sending to loopfuse, make sure it includes the vid variable //echo "Var List: " . $loopdata . "
"; //send the information via the sendToHost function $loopbuffer = sendToHost("loopfuse.net","POST","/webrecorder/post",$loopdata,0,0); //for debugging: uncomment the below to see what loopfuse sends back, we want to see a 200 code //echo "Loopfuse's response: " . $loopbuffer . "
"; header("location:people.php?success=1"); exit; } else { $errormsg = "The Passwords do not match.
"; } } else { $errormsg = "This username already exists, please select another.

"; } } } // end of checking if form was submitted ?> Springsource STS Beta Program - Apply for membership SpringSource http://www.springframework.org/ Blog Forums Contact Us Deutsch Products Services Partners News & Events About Us SpringSource Home

SpringSource STS Beta Program

Membership Application Form
** All Fields Are Required
'') { echo "
"; echo "
      "; echo $errormsg ; echo "
"; } ?>
Please fill out the form below. Once you've submitted this form, you will be given access to the STS beta application site where you can download the software and get more information and participate in the beta discussion forum.

Already a member of this Beta Program, click here to login.

Please note that you must indicate your acceptance of the Personal Use License and Contribution Agreement.

If you wish to review the Personal Use License, please click on this link; Personal Use License

If you wish to review the Contribution Agreement, please click on this link; Contribution Agreement

I have read the Personal Use License and Contribution Agreement and agree to all the terms
> Accept
> Reject
  • (valid email address required)


  • Do you use an Eclipse distribution (name/version)?
  • Which Eclipse Version are you using?
  • Do you use Spring IDE?
  • Do you use Eclipse Mylyn?

  • Would you like to receive update messages about the SpringSource Tool Suite?
      > Yes
      > No

  • Would you like to be subscribed to the SpringSource Tool Suite users list?
      > Yes
      > No

  • * Both of the lists above will send you an email to confirm your subscription.


SpringSource