MyBB Community Forums

Full Version: [plugins] Contact Us 1.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Download Contact Us 1.0 Plugins For MyBB 1.4x here.

Click Here
FYI...your script is vulnerable to a number of exploits.

You have to properly sanitize the input before sending it to the mail function. Also it's best to use the mybb function my_mail() isntead. It will allow for more control and standardize headers.
I used it, made a test e-mail send and got the e-mail 20 minutes later. Confused
Oh it will work...just be aware that spammers could use this to send thousands of emails from your hosting account and get you suspended or your IP blacklisted.
We should encourage Our new developers rather to discourage them
Any way... Good Start...!
Keep it up
that was my first PHP script..but thanks.
(2009-06-19, 03:35 PM)ghazal Wrote: [ -> ]We should encourage Our new developers rather to discourage them
Any way... Good Start...!
Keep it up

What? Labrocca was just pointing the exploits in this guys plugins. How is that in anyway discouragement.
(2009-06-22, 03:22 PM)svr2009wwe Wrote: [ -> ]that was my first PHP script..but thanks.

It's a fine little plugin...just sanitize the input. Even starting out it's important to understand basic security.

http://www.thesitewizard.com/php/protect...tion.shtml

Read that for starters. A few more lines and your plugin won't be exploitable.
thnx again...