Jump to content

ukeagle

Member
  • Posts

    3
  • Joined

  • Last visited

About ukeagle

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ukeagle's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi I have tried placing the above code inside cart.php to prevent none logged in users from accessing cart.php but i have got an error Also i have tried to place it inside the header but nothing happened! I have alos tried : if ($_SESSION['uid']) { # User is Logged In - put any code you like here }else{ $goto="login"; include("login.php"); } ?> And: {if !$loggedin} {php} header('Location: https://mywebsite.com /register.php'); {/php} Also no luck! Any suggestions please? WHMCS V5.2
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated