הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 27-10-05, 15:48   # 1
Itshak_C
Junior Member
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 32
הודעות: 11

Itshak_C לא מחובר  

בעיה בקוד 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
לייד כתובת הקבץ . . .
מה הבעיה ?
  Reply With Quote
ישן 27-10-05, 15:51   # 2
בניה
משתמש - היכל התהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: נחושה
הודעות: 3,434

בניה לא מחובר  

בס"ד


זה קוד ASP השרת צריך לתמוך בASP בשבילו.
השרת שלך תומך בASP?
  Reply With Quote
השב

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 09:54.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ