FLash Email Form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

yes, that was implied agtlewis. :)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Yeah I know. I mentioned it because when I first started writing code things like that would trip me up. I would read a manual and it would tell me to do something, but not where to do it and I felt like firing the book through a window. Once I even took code directly from a PHP book and saved it into a file... problem was the code didn't work because Register globals was off. Ack, took me 2 or 3 days to figure out that one.
cupaball
Forum Commoner
Posts: 85
Joined: Sun Feb 12, 2006 1:46 pm

Post by cupaball »

matthijs wrote:You might find the security guide helpfull http://phpsec.org/projects/, as well as the articles on http://shiflett.org/.
Some basic articles about php security here
http://www.ilovejackdaniels.com/securit ... ecure-php/ as well as a good emailvalidation function http://www.ilovejackdaniels.com/php/ema ... alidation/
If you search on the security forum here on "input validation" you'll find plenty of good info.
Good luck.
Thanks, time to read up!
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

matthijs wrote:The mail() function doesn't take 5 arguments as far as I know.
Actually it does. just not those 5
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

You're correct jshpro. I should have checked the manual yesterday:

Code: Select all

bool mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]] )
Post Reply