$date, 'url' => $url, 'copyright' => $copyright); echo json_encode($echo); } else { header("Location:$url"); } ?>