|
![]() |
# 1 |
Junior Member
|
בעיה בקוד HTML . . .
מצאתי באתר של זכאי קוד לדף הדורשסיסמה כדי להתחבר אליו . . .
[HTML] meta http-equiv="Content-Type" content="text/html; charset=Windows-1255"> <title></title><body> <center> <font face="Arial, Helvetica, sans-serif"><b> <% u_password=request.form("u_password") ' Checks the value of the password being submitted ' If the password is correct then the restrict access content will display select case u_password case "1234" response.redirect("file.htm") case else ' Checks to see if the user has submitted a password or if one was submitted ' If there is no value in u_password field or if it is anything ' other than codeave then the input form will display ' prompting the user to input the appropriate information if (u_password <> "1234" and u_password <> "") then ' If the password submitted in not null then display a message ' informing the user that an incorrect password was supplied response.write "הסיסמה שהכנסת אינה נכונה - נסה שינית" end if if (u_password <> "1234" and u_password = "") then ' If the password submitted is not null then display a message ' informing the user to enter a password response.write ".אנא הכנס סיסמה" end if %> </b></font> </center> <form action="<%= request.servervariables("script_name") %>" method="POST"> <div align="center"><br> <br> <input type="password" name="u_password" length="20" maxlength="5"> <br> <br> <input type="Submit" value="שלח"> </div> </form> <div align="center"><% end select %> <br> </div> [HTML/] 1234 זאת הסיסמה ו-Fileזה הקובץ שאליו זה יוביל . . . אבל הדף לא עולה ורשם שלא ניתן להציג את הדף ובשורה למעלה רשום: <%=%20request.servervariables(?u_password=1234 לייד כתובת הקבץ . . . מה הבעיה ? |
![]() |
![]() |
# 2 |
משתמש - היכל התהילה
|
בס"ד
זה קוד ASP השרת צריך לתמוך בASP בשבילו. השרת שלך תומך בASP? |
![]() |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|