Jump to content

Login php help


ff123

Recommended Posts

hello everyone im new here.. im designing a script in my which my clients can have their own pages after logging in so i have designed three pages

1 Login HTML (Sends input to process.php)

2 process.php (

$code = $_POST['code'];
$email = $_POST['email'];
$password = $_POST['password'];


if ( $code ==111 && $password == test && $email == "[email protected]" ) {
header("ClientPage.php");
} 

3. Now when it goes to Clientpage.php this page have Hidden HTML which will be opened if password matches. but unfortunately the password does not passes along with it if Im using header("");

solution?

Link to comment
https://forums.phpfreaks.com/topic/154595-login-php-help/
Share on other sites

here are some more things I want to do that clientpages cannot be opened directly they have their own hidden HTML which will be opened if client enter thru Login.html then.. it should have Logout link whehn it is clicked if he hit backs he cannot access and have to go again throug login.html

Link to comment
https://forums.phpfreaks.com/topic/154595-login-php-help/#findComment-812960
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.