php get référent ajax
#you get get ajax referer like so, but don't trust it if coming from
#somewhere you don't control bc it can be easily spoofed
$_SERVER['HTTP_REFERER']
Friendly Hawk