Undefined index: HTTP_REFERER

+2 Paul Wnscott Pagador · April 28, 2015
/images/forum/upload/2015-04-28/b9c8f73bdac480b21b166c3013f01b3a.JPG/images/forum/upload/2015-04-28/e6eede47619ceb7e321ce44c10e48cc5.JPG

./images/forum/upload/2015-04-28/8c59e065dfd5c892f3b5c3374711e9ab.JPG

Anyone can help me. Thank you..

Post a Reply

Replies

Oldest  Newest  Rating
+1 Sho Carter · April 28, 2015
Most like the case that it isn't set, because you're trying to access it when in fact you accesed that page directly...
0 Paul Wnscott Pagador · April 29, 2015
Thank you for the reply.


so its also good if i use this code :

<?php
require 'core.php';


session_destroy();


header('Location: index.php');


?>

for my logout.php

Thank You Again.. 
  • 1

PHP

107,187 followers
About

Server-side, HTML embedded scripting language used to create dynamic Web pages.

Links
Moderators