Hello, I have just started with php. I can not see what I have done wrong here. Please help. /David Froster
<?php
if($_SERVER['HTTP_HOST'] != blue.sunet.se) { header("Location: http://red.sunet.se") }
?>
try using "blue.sunet.se".
thanks, tried both "blue.sunet.se" and 'blue.sunet.se' but none of them work unfortuntely. any other hint.?
is this a difficult problem? i thought it was pretty common??