Posts

Showing posts with the label mysqli

php code and website functioning on localhost but not working on server

php code and website functioning on localhost but not working on server Good day, my login script which i've been building on my localhost host wamp server is working perfectly well on the localhost but has refused to function well ever since i uploaded it to the server. it reads the username and password and if correct it does nothing but if wrong it alerts me that is it wrong. if correct it is supposed to redirect me to the home page. i've been struggling with it ever since on the server. please any one that will be of help will be much appreciated. it does the same thing too for my register page. it registers but doesnt give any feedback and also does not redirect to the login page but on the localhost everything seems fine login script <?php include 'connection.php'; if(isset($_SESSION['use'])) // Checking whether the session is already there or not if ...