News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mike Bernat's Blog:
Creating a Simple Registration Script using PHP
December 21, 2006 @ 15:21:00

Mike Bernat has posted this tutorial that shows the creation and use of a simple registration script as created in PHP.

The most useful and almost necessary feature of any interactive website is a registration form. A way to give users access to features while keeping out the riff-raff. While a registration script can be the perfect time for an amateur to grab the bull by the horns it can also leave lots of pitfalls for a more experienced programmer.

He sets up the database first (for the user's information) followed by the simple HTML form to get the user's information. There's some error checking (if the value is empty or not) before he pushes it into the database, but not much checking outside of that (not even escaping to prevent a SQL injection). It's a very basic script that's a decent starting place, but needs work to be really used for user's information.

1 comment voice your opinion now!
simple registration script user database simple registration script user database


blog comments powered by Disqus

Similar Posts

Daniel Krook's Blog: CakePHP DB2 driver alpha released

Gonzalo Ayuso's Blog: Database connection pooling with PHP and React (node.php)

Richard Miller\'s Blog: UPHPU meeting on custom 404 pages

Rob Allen: Simple logging of ZF2 exceptions

PHP-Coding-Practices.com: How Table Migrations In CakePHP 1.2 Can Save Your Life


Community Events

Don't see your event here?
Let us know!


php7 interview framework composer community yii2 list laravel api opinion symfony programming language part2 example podcast project introduction series application

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework