Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply

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!

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

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>

and then in test.php

Code: Select all

  echo "Login is $frmLogin; password is $frmPassword";
With best regards,
Cyril Kobets

Post Reply