Jump to content

Newbie help on php/html programming framework


Arthur D

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.