Something is wrong with the XAMPP installation :-(
Posted: 11. March 2015 12:17
XAMPP 5.6.3
[PHP: 5.6.3]
OS: Windows 8.1
Please help me somethings wrong with the PHP ...
as you can see the image, when I call the index.php from htdocs on my browser, this happened..please help me.. thanks..
while the HTML is working...
[PHP: 5.6.3]
OS: Windows 8.1
- Code: Select all
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');
exit;
?>
Something is wrong with the XAMPP installation :-(
Please help me somethings wrong with the PHP ...
as you can see the image, when I call the index.php from htdocs on my browser, this happened..please help me.. thanks..
while the HTML is working...