Page 2 of 2

Posted: Sun Feb 12, 2006 3:03 pm
by feyd
yes, that was implied agtlewis. :)

Posted: Sun Feb 12, 2006 3:07 pm
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.

Posted: Sun Feb 12, 2006 3:07 pm
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!

Posted: Sun Feb 12, 2006 4:18 pm
by josh
matthijs wrote:The mail() function doesn't take 5 arguments as far as I know.
Actually it does. just not those 5

Posted: Mon Feb 13, 2006 12:58 am
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]] )