Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [mccode v2] Secure Bank!

I got the idea from Anthony and the

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

idea from Kyle although he used die in his example :-P

Posted

Re: [mccode v2] Secure Bank!

Random thoughts

$deposit = ereg_replace('[$, ]', '', $_REQUEST['deposit']);

if(eregi("[^0-9]", $deposit)) {

echo "Error - The input $deposit is an invalid action, please try again.";

return;

}

Posted

Re: [mccode v2] Secure Bank!

Could do...

But most people have sense to know only numbers are allowed to be inputted.

Also I would use a preg_* function ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...