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