scunkphp Posted November 24, 2009 Share Posted November 24, 2009 I have just finished a login function for my website. Can someone show me how to input and output information from a secured website? ONce the user has been logged into the website, the page I pointed to is a secured page. Then, I would like to let the user input information from that secured page into a different database (interests table) while having a FK pointed to the users email (user table). In addition, I would like to have a new page echo the information the person had inputed. Thank you S. Quote Link to comment https://forums.phpfreaks.com/topic/182730-basic-input-output-secure-website-question/ Share on other sites More sharing options...
mikesta707 Posted November 24, 2009 Share Posted November 24, 2009 Do you want help with a script, or do you want someone to do it for you? If you want help, what you want to do depends on how your login system works. If you use sessions (which is probably the most common method) you will want to look into the isset() function. You can check if someone is logged in by doing something like session_start(); if (isset($_SESSION['my_logged_in_variable'])){ //do logged in stuff } to insert data into a mysql table, look into the insert SQL command, and look into the select command for getting data from the table Quote Link to comment https://forums.phpfreaks.com/topic/182730-basic-input-output-secure-website-question/#findComment-964435 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.