Jump to content

PHP secuirty


adam291086

Recommended Posts

Someone is able to hack my site. I am using

 

session_start();
// is the one accessing this page logged in or not?
if (!isset ($_SESSION['username'])) 
{
// not logged in, move to login page   
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.admin.bcyorkshire.co.uk\">";
}

 

to stop people getting in. I i never stopped google from referencing the pages and they are able to get in by stopping the refresh. How can i secure the pages further?

Link to comment
https://forums.phpfreaks.com/topic/141912-php-secuirty/
Share on other sites

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.