[ASP] Re: [ASP] Gästebuch
Marco Rey
activeserverpages@glengamoi.com
Fri, 20 May 2005 18:07:11 +0200 (CEST)
Hi
So anpassen:
If "Yes" <> strFinal Then
If "" = strName Then
Response.Write "Please fill in all the fields with
correct information."
Habe es nicht getestet! Sollte aber so funzen...
--- daniela froehlich <designorart@yahoo.com> schrieb:
> Hallo Zusammen
> Habe mir das Gästebuch von www.aspgerman.com
> heruntergeladen und eingesetzt.
> Leider verstehe ich nicht den ganzen Code.
> Das Gästebuch verlangt den Eintrag einer
> Email-Adresse. Diese Funktion möchte ich aber
> ausschalten, weiss aber nicht wo.
>
> Die Lösung liegt sicher irgendwo in diesem Bereich:
>
> strFinal = Trim(Request.Form("FinalSubmit"))
>
> strComment = Trim(Request.Form("Comment"))
> strName = Trim(Request.Form("Name"))
> strEmail = Trim(Request.Form("eMail"))
> strURL = Trim(Request.Form("URL"))
>
> If "Yes" <> strFinal Then
> If "" = strName Or Len(strEmail) < 6 Or 0 =
> Instr(strEmail,"@") Or 0 = Instr(strEmail,".") Then
> Response.Write "Please fill in all the fields with
> correct information."
> Else
> %>
> <p>Please check your entry:</p>
> <ul>
> <li>Your name: <%=SafeHtmlEncode(strName)%></li>
> <li>Your email: <%=SafeHtmlEncode(strEmail)%></li>
> <% If strURL <> "" Then Response.Write "<li>Your
> webpage: http://" & SafeHtmlEncode(strUrl) %>
> <% If strComment <> "" Then Response.Write "<li>Your
> comment: " & SafeHtmlEncode(strComment) %>
> </ul>
> <p>If everything is correct please click "submit"
> otherwise go back to the <a
> href="cguestbook.asp">Guestbook</a>.</p>
>
>
> Bin für jede Hilfe dankbar!
> Liebe Grüsse
> Daniela Fröhlich
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> _______________________________________________
> ActiveServerPages Mailingliste, Postings senden an:
> ActiveServerPages@glengamoi.com
> An-/Abmeldung und Suchfunktion unter:
>
http://www.glengamoi.com/mailman/listinfo/activeserverpages
>
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de