za file://localhost/C:/xampp/htdocs/index.html kaze It works!
a za index.php fajl kada ga otvaram kaze
<?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 :-(
..za moj fajl proba.php isto izbacuje kod.
Ipak otvara root tj. localhost sa:
Warning: Cross Network Request!
Warning
http://localhost/xampp/splash.php
A page on the public Internet requests data from your computer. For security reasons, automatic access is blocked, but you may choose to continue.
Continue
-kad kazem continue otvara mi xampp-ovu stranu.. sve ok, valjda zato sto sam na netu..