PHP File
Code: Select all
<link type="text/css" rel="stylesheet" href="<?php echo $_SERVER['DOCUMENT_ROOT'] . '/folder/globalStyles.css' ?>" />
Code: Select all
<link type="text/css" rel="stylesheet" href="C:/xampp/htdocs/folder/globalStyles.css" />
Firefox doesn't know how to open this address, because the protocol (c) isn't associated with any program.
Another is this:
Code: Select all
header('Location: ' . $_SERVER['DOCUMENT_ROOT'] . '/folder/page.php');
Help resolve this.