PHP Access Violation
Moderator: General Moderators
PHP Access Violation
I am getting this error PHP has encountered an Access Violation at 7C82FA21 when ever I am trying to access a php page. Please help.
PHP Access Violation
This error doesn't show up all the time. Whenever it(error) shows up if I refresh then the page displays fine. So I don't think anything wrong with my php code.
here is the code i have for a file logout.php
session_start();
$_SESSION = array();
session_destroy();
echo '<script language="JavaScript"> document.location.href="./login.html" </script>';
sometimes when I click logout, i get that error PHP has encountered an Access Violation at 7C82FA21, on the page logout.php but after I refresh it rediects to login.html
here is the code i have for a file logout.php
session_start();
$_SESSION = array();
session_destroy();
echo '<script language="JavaScript"> document.location.href="./login.html" </script>';
sometimes when I click logout, i get that error PHP has encountered an Access Violation at 7C82FA21, on the page logout.php but after I refresh it rediects to login.html