% strEmail = Request.Form("txtEmail") strPass = Request.Form("txtPassword") boolSignup = false if Request.QueryString("signup") = "done" then boolSignup = true %> <% ' prevent SQL injection attack using ; strInput = CStr(Request.Form("txtEmail")) if (InStr(strInput, ";")>0) then Response.redirect("affiliate.asp") end if if (InStr(strInput, "drop")>0) then Response.redirect("affiliate.asp") end if if (InStr(strInput, "xp_")>0) then Response.redirect("affiliate.asp") end if %> <% ' *** Validate request to log in to this site. MM_LoginAction = Request.ServerVariables("URL") If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" + Request.QueryString MM_valUsername=CStr(Request.Form("txtEmail")) If MM_valUsername <> "" Then MM_fldUserAuthorization="" MM_redirectLoginSuccess="affiliate/check_name.asp?email=" & strEmail & "&Pass=" & strPass MM_redirectLoginFailed="affiliate.asp?fail=yes" MM_flag="ADODB.Recordset" set MM_rsUser = Server.CreateObject(MM_flag) MM_rsUser.ActiveConnection = MM_CFC_SQL_STRING MM_rsUser.Source = "SELECT AffEmail, AffPassword" If MM_fldUserAuthorization <> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldUserAuthorization MM_rsUser.Source = MM_rsUser.Source & " FROM dbo.tblConsumerAffiliateInfo WHERE AffEmail='" & MM_valUsername &"' AND AffPassword='" & CStr(Request.Form("txtPassword")) & "'" MM_rsUser.CursorType = 0 MM_rsUser.CursorLocation = 2 MM_rsUser.LockType = 3 MM_rsUser.Open If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then ' username and password match - this is a valid user Session("MM_Username") = MM_valUsername If (MM_fldUserAuthorization <> "") Then Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value) Else Session("MM_UserAuthorization") = "" End If if CStr(Request.QueryString("accessdenied")) <> "" And false Then MM_redirectLoginSuccess = Request.QueryString("accessdenied") End If MM_rsUser.Close Response.Redirect(MM_redirectLoginSuccess) End If MM_rsUser.Close Response.Redirect(MM_redirectLoginFailed) End If %>
| Sell Your Cell Phone | QuickShip | Free Recycling | Affiliates | Promotions | Recommended Links | 911 Cellphone Bank |
| Free Email Newsletter | Cellular Phone Information | Cell Phone Information | Free Articles | Free eBook |
| About Us | Recent Press | Press Kit | User Agreement | Privacy Policy | Testimonials | Referral Program |
| Advertising Opportunities | Recycling Statement |
| Cell For Cash $1000 Giveaway Enter Here | Contest Rules |
| Customer Service | Website Help |
| Cellular Phone Models | Audiovox Cell Phones | Boost Cell Phones | Danger Cell Phones | Handspring Cell Phones |
| Hop-On Cell Phones | HP Cell Phones | HTC Cell Phones | Kyocera Cell Phones | LG Cell Phones |
| Motorola Cell Phones | NEC Cell Phones | Nokia Cell Phones | Panasonic Cell Phones | RIM Cell Phones |
| Samsung Cell Phones | Sanyo Cell Phones | Sharp Cell Phones | Siemens Cell Phones | Sony Ericsson Cell Phones |
| Sprint Cell Phones | UTStarcom Cell Phones | Vertu Cell Phones | Cell Phone Service |
| Cingular Cell Phones | Nextel Cell Phones | Sprint Nextel Cell Phones | T-Mobile Cell Phones | Verizon Cell Phones |
| All trademarks, trade names, registered trademarks, or registered trade names are property of their respective holders. © Copyright 2002-2008 RMS Communications, Inc. |