עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

עזרה ב-asp בבקשה

Featured Replies

פורסם

שלום לכולם.

אני בונה אתר אינטרנט לצורך יחידת מחשבים בבי"ס, ונתקלתי בבעיה הנוגעת ל-asp.

יש לי דף אשר בו המשתמש נרשם, אך הבעיה היא כי ההרשמה לפעמים עובדת ולפעמים לא (עם דגש על - בד"כ לא!).

http://www.upf.co.il/index.php?page=view&id= - הקובץ בפורמט .txt

כמו כן, הנה הקוד של קובץ ה-asp (זה אותו קובץ, שמתי את הקוד שלו גם פה בכ"ז):


<html dir="rtl">
<head>
<title> הרשמה לאתר </title>
</head>
<body>
<%

Set connection=Server.CreateObject("ADODB.Connection")
stconnection="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&_
Server.MapPath("/db/Traveler.mdb")
connection.open stconnection

User_name=request.Form("User_name")

SQLUser="select * from userTable where User_name='"&User_name&"'"
set rsUser=server.createObject("ADODB.recordset")
rsUser.activeconnection=connection
rsUser.open SQLUser

if not rsUser.EOF then
Response.Write "<center>"
Response.Write "<h3>"
Response.Write ".שם משתמש תפוס"
Response.Write "</h3>"
Response.Write "</center>"
Response.end

else
First_name=request.Form("First_name")
Last_name=request.Form("Last_name")
ID=request.Form("ID")
Birthday=request.Form("Birthday")
Password1=request.Form("Password1")
Credit_card_type=request.Form("Credit_card_type")
Credit_card_number=request.Form("Credit_card_number")
Telephone=request.Form("Telephone")
City=request.Form("City")
Address=request.Form("Address")
Status="2"

SQLAdd="Insert into userTable values('"&User_name&"', '"&First_name&"', '"&Last_name&"', "&ID&", '"&Birthday&"', '"&Password1&"', '"&Credit_card_type&"', "&Credit_card_number&", '"&Telephone&"', '"&City&"', '"&Address&"', "&Status&")"
connection.Execute(SQLAdd)
End if

rsUser.Close
set rsUser=nothing
connection.close
Set connection=nothing
%>
פרטיך נרשמו בהצלחה.
</body>
</html>

תודה מראש :)

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.