is there a difference between these 2?

PHP Code:
header('Location: http://www.domain.com/file.php'); 
PHP Code:
header('Location: file.php'); 
i thought i read about there being a difference but i don't know. will they both work the same? does it depend on the server?