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

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

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 22-08-08, 14:24   # 1
CubeS.co.il
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Dec 2007
הודעות: 494

CubeS.co.il לא מחובר  

Unhappy טופס יצירת קשר - איפה טעיתי?!

בשגיאה - ברגע שלוחצים על שלח הוא עושה כאילו הדף לא נמצא...

זה הקוד של הטופס שממלאים בו פרטים

קוד:
<td><form action="mail_Contact_.asp" method="post" onSubmit="return Valid(this)">
          <table width="23&#37;" cellpadding="0" cellspacing="0" dir="ltr" lang="he">
            <tr>
              <td width="3%">&nbsp;</td>
              <td width="21%">&nbsp;</td>
              <td width="76%">&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td><table width="23%" border="0" bgcolor="#FFFF99" dir="rtl" lang="he" class="visittext1">
                  <tr>
                    <td width="5%">שם</td>
                    <td width="95%"><input name="name" type="text" id="name" tabindex="1" value="" size="21" require validName="יש לציין שם"></td>
                    
                  </tr>
                  
                  <tr>
                    <td>נייד</td>
                    <td><input name="mobile" type="text" tabindex="4" size="7" maxlength="7">
                      -
                      <select name="code_mobile" tabindex="3">
                  <option>בחרי</option>
                  <option value="050">050</option>
                  <option value="052">052</option>
                  <option value="054">054</option>
                  <option value="057">057</option>
              </select></td>
                   
                  <tr>
                  </tr>
                  <tr>
                    <td colspan="3"><div align="center">
                        <input type="submit" name="Submit" value="שלחי">

זה הקוד של mail_Contact_.asp

קוד:
<%@ language="VBSCRIPT" CODEPAGE="1255" %>
<%
		
	name = Request.Form("name")
	cell = Request.Form("mobile")
	cell2 = Request.Form("code_mobile")
	
	
' build HTML for message body

strHTML = "<HTML dir=rtl>"
strHTML = strHTML & "<HEAD>"
strHTML = strHTML & "<BODY>"
strHTML = strHTML & "&ugrave;&iacute;: " & name & "<br>"
strHTML = strHTML & "&egrave;&igrave;&ocirc;&aring;&iuml; &eth;&eacute;&eacute;&atilde;: "& cell2 & "-" & cell &"<br>"
strHTML = strHTML & "</BODY>"
strHTML = strHTML & "</HTML>"

	Session.CodePage = 1255 
	' change to address of your own SMTP server
	strHost = "mail.nannys.co.il"

		Set Mail = Server.CreateObject("Persits.MailSender")
		' enter valid SMTP host
		Mail.Host = strHost
		Mail.Charset = "Windows-1255"
		Mail.From = Request("& cell2 & "-" & cell &") ' From address
		Mail.FromName = Mail.EncodeHeader(Request("name"), "Windows-1255")
		Mail.AddAddress "jobs@cubes.co.il"
				
  		' message subject
  		Mail.Subject = "Mail from Nannys"
		
		' message body
		Mail.Body = strHTML
		Mail.IsHTML = True

		strErr = ""
		bSuccess = False
		On Error Resume Next ' catch errors
		Mail.Send	' send message

	Response.Redirect "http://www.nannys.co.il/&thorn;&thorn;Thanks_Contact.asp"
%>
איפה טעיתי?

Last edited by CubeS.co.il; 22-08-08 at 14:27..
  Reply With Quote
ישן 22-08-08, 14:25   # 2
נריה
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
מיקום: מרכז
גיל: 33
הודעות: 2,122

נריה לא מחובר  

יהיה יותר קל לעזור לך אם תראה את השגיאה...
  Reply With Quote
ישן 22-08-08, 14:26   # 3
CubeS.co.il
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Dec 2007
הודעות: 494

CubeS.co.il לא מחובר  

הוא אומר שהדף לא נמצא כשאני לוחץ על שלח
  Reply With Quote
ישן 31-08-08, 09:00   # 4
israeli
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Apr 2008
הודעות: 570

israeli לא מחובר  

אני גם דרך אפשר עזרה?
__________________
בברכה יואל
מצחיק , צחוקים שידורי ספורט
*מוכר דומיינים בתשלום בpaypal, מכל הסוגים!
  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. הזמן כעת הוא 21:22.

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