PHP Перейти на сайт

2075 / PHP / Перейти на сайт

 

header("Location: http://site.com");

або

echo "<script>window.location = 'http://site.com'</script>";