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 == "test@test.com" ) {
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.