Custom Search

News World

May 9, 2011

Create a Log In Page via PHP Script (4)

1. Create a Log In Page via PHP Script (4)
2.
3. --------------------------------------------------
4. Create file login.php in to "nature" folder
5. --------------------------------------------------
6.
7.
8. copy the script below to login.php
9. --------------------------------------------------
10. < form name='frmlg' method='POST' action='index.php' >
11. < table border=0 cellpadding=0 cellspacing = 0 width=300 >
12. < tr>
13. < td width=120 class='tco' align='right' >User Name< /td >
14. < td width=5 class='tco' align=center >:< /td >
15. < td class='tco' >< input class='tin' name= 'txun' type=text size='8' value=''/>< /td >
16. < /tr>
17. < tr>
18. < td width=120 class='tco' align='right' >Password< /td >
19. < td width=5 class='tco' align=center >:< /td >
20. < td class='tco' >< input class='tin' name= 'txpa' type = 'password' value=''>< /td >
21. < /tr>
22. < tr>
23. < td width=120 class='tco' align='right' >-< /td >
24. < td width=5 class='tco' align=center >-< /td >
25. < td class='tco' > < input class='tim' name= 'txsu' type = 'submit' value='Login'>< /td >
26.
27.
28.
29. < /tr >
30. < /table >
31. < /form >
32. < ? php
33. if($_POST['txsu']){
34. include 'dudes/initiate.php';
35.
36. }
38.
39. ? >

No comments:

IT Conversations

Moneycontrol Latest News

Latest new pages on Computer Hope

Latest from Infoworld

Door Lock

Door Lock Import Top Door Lock from China Contact Quality Manufacturers Now