Add exams from exam58 to exam98
This commit is contained in:
23
exam63/ServerVariables.php
Normal file
23
exam63/ServerVariables.php
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
<h1>My page</h1>
|
||||
|
||||
<?php
|
||||
|
||||
// include 'header.inc.php';
|
||||
|
||||
// $scrpit_name = $_SERVER['SCRIPT_NAME'];
|
||||
// echo $scrpit_name . '<br>';
|
||||
|
||||
// $host_name = $_SERVER['HTTP_HOST'];
|
||||
// echo $host_name;
|
||||
|
||||
|
||||
$redirect = true;
|
||||
$redirect_page = 'http://google.com';
|
||||
|
||||
if($redirect == true){
|
||||
header('Location: '. $redirect_page);
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user