if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/dashboard/');
exit;
?>
Something is wrong with the XAMPP installation :-(
I installed xampp on Chromebook 2024 through penguin. I keep getting this error message when trying to load any PHP file. I’ve tried everything. I’ve looked at every tutorial on loading xampp. I’ve tried editing firewall settings. Nothing works. Any help would be appreciated. Chromebook sucks. I’d like to get this up and running so that I can create my websites with PHP. Thank you.