Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
Cannot modify header information February 25, 2013 08:58PM |
Registered: 11 years ago Posts: 31 Rating: 0 |
Re: Cannot modify header information February 25, 2013 10:53PM |
Registered: 11 years ago Posts: 31 Rating: 0 |
so that a user cannot type the URL straight into the address bar to skip the loggin, but to take them back to the loggin page. The thing is that i cannot see that,that code can make a difference. And I'm definitely not gonna take that code out and make my site vulnerable for attacks.Language: PHP<?PHP session_start(); if (!(isset($_SESSION[';login';]) && $_SESSION[';login';] != ';';)) { header (';Location: login.php';); } ?>
Re: Cannot modify header information February 26, 2013 07:54AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: Cannot modify header information May 10, 2013 09:20AM |
Registered: 11 years ago Posts: 31 Rating: 0 |