11-06-2005, 23:28
|
|
|
חבר מתאריך: 30.10.04
הודעות: 151
|
|
כיצד אפשר לבדוק פורטים פתוחים אצל המשתמש?+בעיה במסד נתונים
כיצד אפשר לבדוק פורטים פתוחים ב-ASP או אם אי אפשר ב-ASP אז בשפה אחרת שהיא צד שרת...הבעיה השניה שלי היא שיש לי שרת בבזק בינלאומי ואני לא מצליח להשתמש שם במסד נתונים.
העלתי לשרת את הקובץ MyDSN.mdb
וגם יש את הקבצים הבאים:
קוד:
table_creation.html:
<HTML>
<HEAD>
<TITLE> table_creation.html </TITLE>
<SCRIPT LANGUAGE="JavaScript">
function inputValidation(form)
{
if(form.Login.value=="" || form.Password.value=="")
{
alert("You must enter a login & password");
return false;
}
return true;
}
</SCRIPT>
</HEAD>
<BODY>
<FORM METHOD=POST ACTION="table_creation.asp"
onSubmit="return(inputValidation(this))">
Login: <INPUT TYPE="text" NAME="Login"><BR>
Password: <INPUT TYPE="text" NAME="Password"><BR>
<INPUT TYPE="submit">
</FORM>
</BODY>
</HTML>
table_creation.asp:
<%
Dim conn, SQLstr
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "myDSN"
SQLstr="INSERT INTO SiteUsers (Login,Password) VALUES ('"
SQLstr = SQLstr & Request("Login") & "','"
SQLstr = SQLstr & Request("Password") & "')"
conn.Execute SQLstr
conn.Close
Set conn = Nothing
%>
יותר חשוב לי שתעזרו לי איך אני משיג את הפורטים של המשתמש שגולש באתר...
_____________________________________
Your signature did not follow Fresh's signatures policy, therefore it was automatically erased. Please see the E-Mail which has been sent to you, to learn how to fix this.
|