X9183 Posted July 17, 2008 Share Posted July 17, 2008 I have a very strange problem with my "index.php" file. Which has been working just fine ever since I set it up sometime ago. Suddenly it just doesn't work correctly any more. The application couldn't be simpler. it is the classic of Read, Add and Update a record. The user enters three pieces of information to gain access. Upon successful verification, a unique session variable is created and the user is then passed to the main navigation page. Here is the problem. Using the INDEX.PHP - <?PHP include("login.php"); ?> it goes the navigation page and the session variable is passed to both the Read and Update routines only and not to the add routine. If instead of using INDEX.PHP, typeing on the browser command line http://www.oldjamaica.com/login.php The session variable is available to all three routines and everything is works just fine as it always has done. No coding in any of the scripts have been altered ??? ??? ??? Link to comment https://forums.phpfreaks.com/topic/115238-solved-problem-with-indexphp/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.