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

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

   
|!|

סגור את ההודעה
 
כלים לאשכול תצורת הצגה
ישן 28-06-06, 08:52   # 1
Xire
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Jun 2006
הודעות: 66

Xire לא מחובר  

Unhappy מה לא בסדר בסקריפט הזה....? :/

טוב אנשים אני צריך סקריפט שידרוש סיסמא לפני מעביר לעמוד מסויים.
מצאתי את הסקריפט הבא:

PHP קוד:
<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 "liora"
response.redirect("yellow.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 <> "liora" 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 <> "liora" 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
%> <
br>
<
br>
<
br>
</
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
בכל מקום שרשום
PHP קוד:
liora 
זה הסיסמא

והסקריפט לא עובד הוא כותב שהעמוד לא נמצא ומעביר לעמוד אחר ולא מה שבקשו ממנו.
לפי מה שהבנתי הבעיה היא בשורה הזאת:
PHP קוד:
<form action="<%= request.servervariables("script_name") %>" method="POST"
הבעיה שאני לא מוצא אותה.


מישהו יכול להגיד לי מה לא בסדר בו?
או
מה לעשות בשביל שהוא יעבוד?
או
לתת לי סקריפט אחר?
 
ישן 28-06-06, 09:07   # 2
meshuga
הנהלת הפורום לשעבר
 
meshuga's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 35
הודעות: 7,601

meshuga לא מחובר  

כוס חלב ועוגיה גם?.......
נעול+אזהרה.
קרא חוקים, אסור לבקש סקריפטים.
 
סגור את ההודעה

חברים פעילים הצופים באשכול זה: 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. הזמן כעת הוא 05:52.

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