i have a problem to redirect user to the requested page after login. 1-this are my files:login.php,register.php,protected.php,plan1.php,member.php et plan2.php,home.php 2-plan1,plan2, and member have a check before people have access. 3-when a user click on plan1 for exemple and get redirect on login.php 4-My problen is after logged in he goes directly to member.php 5-I would like that the user get redirect to plan1.php cause that's the page he wanted to visit. i found a couple a solution but they didn't work. /////////////////////////////////////////////////////////////////////////////////////// *plan1.php* <?php session_start(); if(!isset($_SESSION['username'])) { header('Location: login.php'); exit; } ?> /////////////////////////////////////////////////////////////////////////////////////// *login.php* <?php session_start(); echo "<h1>Se connecter</h1>"; if(isset($_POST['submit'])) …

Member Avatar
Member Avatar
+0 forum 16

Hi, I'm running a script to bring down the logical ip address . But if the system doesnt have that logical ip addresss then i get the following error print on terminal - SIOCSIFFLAGS: Cannot assign requested address I just want to know whether there is a way to suppress that print so that user is not aware of that. May be some check before pulling down the logical ip. the script file content is - ifconfig eth0:1 down is there any syntax by which i can check whether eth0:1 is up or not . My purpose is not to …

Member Avatar
Member Avatar
+0 forum 1

hello fellow programmers. I am having an anoying problem with a Contact book i am making. As the title of this thread suggests i am getting that error but only when i call for a specific function in the program called void search(). All the other functions in the class Adressbok excecute. This all worked fine until today when i was working on it and made some changes this message popped up. Tried to change back to make it work but it just doesnt want to. I am a bit of a beginner att c++ so dont be to harsh …

Member Avatar
Member Avatar
+0 forum 5

Hi. Hopefully this is my final question for this code. As you may know, I got a code from lloydgoodall.com for a Java & LWJGL FPCamera. It came with several errors, which I got to fixing, and after many, many Google searches, Option+Space's, and hitting my head against my desk's, I've got to hopefully the last error: The Eclipse console shows: "Exception in thread "main" java.lang.IllegalStateException: Cannot determine close requested state of uncreated window" I'm confused. Here's my code: [code] import org.lwjgl.Sys; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.GL11; import org.lwjgl.input.*; import org.lwjgl.util.vector.Vector3f; //First Person Camera Controller public class FPCameraController { //3d vector …

Member Avatar
Member Avatar
+0 forum 3

The End.