Jump to content

direct an if clause error check to a web page


Recommended Posts

Hi all --

In an if clause there is this line:

if (PSEUDO_CAPTCHA_RESPONSE && PSEUDO_CAPTCHA_RESPONSE <> $_POST['pseudo-captcha'])
{
echo 'Your pseudo-captcha response '.$_POST['pseudo-captcha'].' is invalid! Please use your browser\'s back button, correct and submit again.<br />';
exit;
}

It works fine -- that's not a problem. BUT, rather than have this bare bones one-liner message displayed on the basic white browser window, I'd much rather have it display my own page with all the styling intact, that says the same thing.

 

Trouble is, I don't know how to look up what I want in the gazillion books I have. So, I'm turning to the source for all things PHP!

 

Any suggestions of what word in any index this falls under would be wonderful.

AND, of course so would the needed code!

 

Thanks much.

 

Clair

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.