Help with a PHP Register script!
|
07-07-2010, 10:14 AM,
(This post was last modified: 07-07-2010, 08:12 PM by RichardGv.)
|
|||
|
|||
RE: Help with a PHP Register script!
The reason that the form don't appear is so... Minor.
Line 78: Code: <input type='password' name='password' value='> Also, tidy format and clean indentations are important programming habits because they can save much time when debugging parsing errors, and accelerate the process of reading codes. strip_tags does nothing to SQL injection, so you need to be a bit careful and make sure magic_quotes_gpc are enabled. Or you are probably going to have great fun: (A comic about SQL Injection, from xkcd.com) Your script lacks proper isset() / empty() tests to input variable, and that's going to cause a huge amount of annoying PHP warnings (Notice: Undefined index: XXX). Give me a minute. I'm writing a refined version. I will update this post soon. A refined version I wrote: (Attention: I don't know that much about PHP and I cannot guarantee anything about this version.) PHP Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Gentoo Linux User (w/ fvwm) / Loyal Firefox User / Owner of a Stupid Old Computer - My PGP Public Key
No man is an island, entire of itself; every man is a piece of the continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friends or of thine own were; any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee. -- Devotions Upon Emergent Occasions (1624), John Donn |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Help with a PHP Register script! - by Cameron - 07-07-2010, 08:56 AM
RE: Help with a PHP Register script! - by Zach - 07-07-2010, 09:38 AM
RE: Help with a PHP Register script! - by Cameron - 07-07-2010, 09:44 AM
RE: Help with a PHP Register script! - by RichardGv - 07-07-2010, 10:14 AM
RE: Help with a PHP Register script! - by Cameron - 07-07-2010, 01:46 PM
RE: Help with a PHP Register script! - by RichardGv - 07-07-2010, 01:50 PM
RE: Help with a PHP Register script! - by Cameron - 07-07-2010, 03:47 PM
RE: Help with a PHP Register script! - by RichardGv - 07-07-2010, 08:12 PM
RE: Help with a PHP Register script! - by Matt - 07-07-2010, 11:00 PM
RE: Help with a PHP Register script! - by Cameron - 07-10-2010, 02:11 PM
RE: Help with a PHP Register script! - by Zavoo - 07-10-2010, 06:44 PM
RE: Help with a PHP Register script! - by jahiy - 05-27-2011, 12:52 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[SOLV'D] PHP Login/Register Tutorial | Soldier | 9 | 3,328 |
12-04-2010, 02:31 AM Last Post: Vanilla |