March 2010
S M T W T F S
« Aug    
 123456
78910111213
14151617181920
21222324252627
28293031  

Change login link to logout link.

There are times when you have to change the login link in your webpage to a logout link when a user successfully logged in.

Here is a simple way to do it in PHP

Suppose your menu is

Link 1
Login
Link 2

the corresponding HTML code will look like

<a href=’somepage.php’>Link 1</a>
<a href=’login.php’>Login</a>
<a href=’some_other_link.php’>Link 2</a>

After successful login most probably you will [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Twitter
  • DZone
  • Linkter
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • co.mments
  • Facebook
  • LinkedIn
  • Live
  • MySpace
  • Tumblr

Implementing CAPTCHA using PHP

How to implement a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) using PHP

Implementing CAPTCHA using PHP

Steps involved in this tutorial:

Create a background image, the more messier the more better.
[...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Twitter
  • DZone
  • Linkter
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • co.mments
  • Facebook
  • LinkedIn
  • Live
  • MySpace
  • Tumblr