Please help. Secure form to mysql database tut needed...

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
barney0o0
Forum Newbie
Posts: 11
Joined: Sun May 08, 2005 4:52 pm

Please help. Secure form to mysql database tut needed...

Post by barney0o0 »

Please...im going crazy after spending 2 days trying to find a simple, but secure form that will add content to a database table....

I have a form for people to register there details for future mailouts etc....maybe a little email format check and script to prevent multiline injections etc etc....then off to the database.

If you could point me in the right direction for a suitable tut or a helpful description, i would sincerely appreciate it

I dont need any email verification etc, just a simple form......please help, im loosing the will to live..


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

Post by feyd »

each of the topics involved have been talked about at length here on the forums. Roja on multiple occasions has supplied a RFC compliant regex. we've had many discussion over usage of mysql_escape_string() and mysql_real_escape_string(), which may be quite informative to you.
barney0o0
Forum Newbie
Posts: 11
Joined: Sun May 08, 2005 4:52 pm

Post by barney0o0 »

Thanks feyd for your response...as a total newbie i dont have a clue were to start...ive searched the forums in devnev but i find anything thats suitable as a starting point.......rea you aware of any 'tutuorials' that coiver the basic and as a bonus incorporate the 'extras'

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

Post by feyd »

Sorry, I don't delve into tutorials in this arena of interest.
barney0o0
Forum Newbie
Posts: 11
Joined: Sun May 08, 2005 4:52 pm

Post by barney0o0 »

?...so why did you bother to answer the request for tutorials....if you dont have any inclination of meeting that request?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I was offering the alternative of looking at the discussions we've had concerning securing submitted information and insertion into a database.

We are completely free to offer alternatives here.
barney0o0
Forum Newbie
Posts: 11
Joined: Sun May 08, 2005 4:52 pm

Post by barney0o0 »

point taken...however as a complete newb in php i am looking for the very basics of 'how to'....although your suggestions would be helpful at the later stage, making alternative suggestions to what is needed could prevent my request be answered :?
Post Reply