Registration Process

Coding Critique is the place to post source code for peer review by other members of DevNetwork. Any kind of code can be posted. Code posted does not have to be limited to PHP. All members are invited to contribute constructive criticism with the goal of improving the code. Posted code should include some background information about it and what areas you specifically would like help with.

Popular code excerpts may be moved to "Code Snippets" by the moderators.

Moderator: General Moderators

Post Reply
superdupertrooper
Forum Newbie
Posts: 1
Joined: Tue Jan 04, 2011 5:41 pm

Registration Process

Post by superdupertrooper »

Hi,

New to PHP - this is my first registration path.

Please let me know what you think from all aspects - design to security. I'm sure there's a lot here to be improved.

http://prizestars.com/wp-content/themes ... gister.php

Thanks,
Richard
User avatar
Christopher
Site Administrator
Posts: 13592
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Registration Process

Post by Christopher »

I will comment on the first two things I noticed.

1. You did not post any source code so it is difficult to critique your code.

2. Your form (register.php) should post to itself, not to a separate page (register-mail-2.php). Posting to the same page is considered a best practice because the user can see the errors directly on the form page and correct them.
(#10850)
Post Reply