The following code is from a forms processing page that either displays a "default page", or firstpage.php.
The page control works fine, but when firstpage.php displays to the browser, it's obvious that its stylesheets are not loaded or available, either using IE or Chrome - the page has no styling at all.
But, when firstpage.php is accessed from IE or Chrome directly, it looks perfect.
The 3 stylesheet hrefs in firstpage.php all use full URLs (not relative pathnames) i.e. they look like: href="http://www.mydomain.com/styles/connector-styles.css"
I couldn't find anything searching for this problem, so I'm probably missing something obvious. Here's some code. Thanks in advance for your help!
<?php
extract($_POST);
if ($test_input == 'abc123') {
header("Location: http://www.mydomain.com/firstpage.php");
exit();
} else {
echo '
<!DOCTYPE html>
<html>
<head>
<title>Default Page</title>
</head>
<body>
default page
</body>
</html>';
}
?>