mrherman Posted January 10, 2010 Share Posted January 10, 2010 I'm a PHP learner. After an index.php page, the user goes to a login.php page. Both pages seem to be working. After logging in with username, password, and a special code, the user is transferred to dbaccess.php, a page that will allow access to some data. The problem is that no information seems to be transferring to the page. No username, etc. I've got some PHP books and I'm sure I could research this problem, but I don't even know what it is called, so I don't know where to start. Thanks for any help to get me started. Link to comment https://forums.phpfreaks.com/topic/187910-user-data-not-transferring-to-new-page/ Share on other sites More sharing options...
The Little Guy Posted January 10, 2010 Share Posted January 10, 2010 are you using sessions? if so are you placing session_start(); at the beginning of the file? Link to comment https://forums.phpfreaks.com/topic/187910-user-data-not-transferring-to-new-page/#findComment-992174 Share on other sites More sharing options...
teamatomic Posted January 10, 2010 Share Posted January 10, 2010 The Little Guy is right. Get out your book and see what they say about implementing sessions. HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/187910-user-data-not-transferring-to-new-page/#findComment-992180 Share on other sites More sharing options...
mrherman Posted January 10, 2010 Author Share Posted January 10, 2010 are you using sessions? if so are you placing session_start(); at the beginning of the file? Yeah, I'm using sessions...but obviously not well. I'll go back and do some more research on that. Thanks. I saw your SIMPLE LOGIN script, so I will definitely be referring to that. Link to comment https://forums.phpfreaks.com/topic/187910-user-data-not-transferring-to-new-page/#findComment-992184 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.