Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > RocketCake
login.php
Author Text

markkuan
Registered User
Quote
2021-04-20 04:46:37

$_SESSION['user'] = $user;
if ($targetpage == '')
echo ('logged in.');
else
header('Location: ' . $targetpage);
exit;

This is the code snippet in "login.php"

I don’t want to display "logged in",
Do I want to direct the page to "index.php"?


niko
Moderator
Quote
2021-04-20 07:09:01

It usually should only appear for less then a second, unless you are on the login.php page itself and never wanted to go to another page originally. Don't link to the "login" page but to the page which is password protected, that way the user is redirected to that page again after he has been logged in, and he won't really see that text for long enough.

Alternatively, just open the generated login.php file and replace that "logged in" text with something you like better.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© 2020 Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact