PHP LOGIN FORMS

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
Jay

Thu Oct 03, 2002 11:33 pm

Make a form, set the action to a PHP page, method to POST (for security). When they submit the form you get the variables through the $_POST array, and you can do what you wish with it from here!

mjr
New php-forum User
New php-forum User
Posts: 18
Joined: Fri Sep 27, 2002 6:35 am
Contact:

Fri Oct 04, 2002 6:50 am

illegalport wrote:Can Sumone Please Tell Me How To Make A PHP Login Form~? :o


make html form like

Code: Select all

<form action="test.php">
Login: <input type=text name=frmLogin><br>
password: <input type=password name=frmPassword>
</form


and then in test.php

Code: Select all

<?
  echo "Login is $frmLogin; password is $frmPassword";
?>
With best regards,
Cyril Kobets
http://ebusiness-news.blogspot.com

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 5 guests