-
$_SERVER Problem
I cant seem to find out a way to fix my flash to php problem
I got a couple ideas from my last thread..
1. $_SERVER['HTTP_REFERER'] == $_SERVER['PHP_SELF']
2. $_SERVER['HTTP_REFERER'] == $mydomain
3. $_SERVER['HTTP_REFERER'] == $myservername
inside these i am putting my whole php script and the after that i'm writing
else {
exit;
}
Is that right? Because it doesn' compile when I do any of them
-
$_SERVER['HTTP_REFERER'] == $_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
try that. Also, the referer will be the same as the current script only in case of a loopback.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks