News Feed
Sections




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

PHPMac.com:
Two New Tutorials (Switch Navigation & A Simple Login)
December 28, 2005 @ 06:30:58

PHPMac.com has two more new PHP tutorails today - Navigation using Switch and Single-Page Password Protection.

In the navigation tutorial, they show you a simpel way to use the switch() control to display different content based on a variable set in the $_GET array (URL string).

The second tutorial, Single-Page Password Protection, shows you quickly how to create a form that takes in a password and checks it against one hard-coded into the PHP script. If it validates, the "secret content" is shown.

Both of these tutorials are very simple, and, if you're not careful with them, could cause some security issues with your scripts. All in all, though, they're a good starting place...

1 comment voice your opinion now!
tutorial switch navigation simple login tutorial switch navigation simple login


blog comments powered by Disqus

Similar Posts

Hannes Magnusson: Query logging and profiling in MongoDB

Gonzalo Ayuso: Handling several DBALs in Symfony2 through the Dependency Injection with PHP

Zend Developer Zone: Action Helpers in Zend Framework

Ryan Malesevich's Blog: WP Plugins: iG:Syntax Hiliter

Wes Ray's Blog: Configuring Fedora 12 PHP/MySQL Server with Nginx and reverse proxy to Apache


Community Events





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


library install podcast list symfony language framework bugfix deployment package series tips community release api voicesoftheelephpant introduction laravel interview opinion

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