Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

PHP LOGIN FORMS

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Postby 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!
Jay
 

Re: PHP LOGIN FORMS

Postby mjr » 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";
?>
mjr
New php-forum User
New php-forum User
 
Posts: 18
Joined: Fri Sep 27, 2002 6:35 am


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron