What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Contact Us Required

Contact Us Required
Author: Message:
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Contact Us Required
Can't you check the other fields the same way you check $EmailFrom? If any one of them fails the validation, $validationOK will be set to false, and if $validationOK equals false, the script exits.

For example...

code:
// validation
$validationOK=true;
if (Trim($EmailFrom)=="") $validationOK=false;
if ($Name == "") $validationOK=false;
if ($Query == "") $validationOK=false;
if (!$validationOK) {
    print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">";
    exit;
}
:p

This post was edited on 01-25-2007 at 04:54 AM by WDZ.
01-25-2007 04:51 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Contact Us Required - by Eddie on 01-25-2007 at 04:31 AM
RE: Contact Us Required - by WDZ on 01-25-2007 at 04:51 AM
RE: Contact Us Required - by Eddie on 01-25-2007 at 05:17 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On