Arthur D Posted August 12, 2011 Share Posted August 12, 2011 I just want to verify a couple things...... I start with a html page. I then call a php file to get information and make decisions. I need to display the results via html now. Is this commonly done by using the include function in php? If I get one result I'll go to one page if I get another Ill go to another page. If yes...When I use the include function to go to a new web page (example: postloginpage.html) how secure is this page? Can a hacker go directly to that page? Do I need to start a session to stop this? Thanks in Advance Quote Link to comment https://forums.phpfreaks.com/topic/244639-newbie-help-on-phphtml-programming-framework/ Share on other sites More sharing options...
trq Posted August 13, 2011 Share Posted August 13, 2011 The approach you are taking is pretty common. I think you misunderstand what a hacker is. 'Hacker' is just another name for a (good) programmer. But yeah, there is nothing stopping anyone going to postloginpage.html unless you make efforts to stop them. You can use sessions to track a user and check if they are logged in. Quote Link to comment https://forums.phpfreaks.com/topic/244639-newbie-help-on-phphtml-programming-framework/#findComment-1256703 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.