elliott1
New Member
- Messages
- 31
- Reaction score
- 0
- Points
- 0
i have got this script :
but when the user is logged in it only says "you are logged in as." i dont no what to replace the $mysite_username with
any help
thanks !
<?php
if (!isset($_COOKIE['loggedin'])) die("You are not logged in!<br><a href=login.html>log in</a>");
$mysite_username = $HTTP_COOKIE_VARS["mysite_username"];
echo "you are logged in as $mysite_username.<p>";
but when the user is logged in it only says "you are logged in as." i dont no what to replace the $mysite_username with
any help
thanks !