Jump to content

Recommended Posts

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   

 

   

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.