Thread: SSL and PHP
View Single Post
Old 11-05-2009, 09:35 AM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,706
sde is on a distinguished road
PHP Code:
//redirect to index if someone is posting variables 
  
if($_SERVER['REQUEST_METHOD'] == "POST"){
    
$referer parse_url($_SERVER['HTTP_REFERER']);

    echo 
$referer['host'];
    exit;
  } 
i would do something like this to make sure $referer['host'] is sending what you think it is ... or to figure out what it is sending when it's not working as expected.
__________________
Mike
sde is offline   Reply With Quote