I think this is perl? REMOTE_HOST How can I do this? I want to check the referer. If A do Aa, else Bb I can't find a variable in phpinfo()
<?php
$appareil = getenv('REMOTE_HOST');
if(strpos($appareil, "www.foo.ca"))
{
echo "found $appareil";
}else{
echo "did not find $appareil";
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

