(no subject)
Dec. 17th, 2003 12:34 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Well, that's certainly interesting. What would cause the PHP code to fail on every single file in a directory...and quite possibly the whole server? This site that I maintain for my adviser uses PHP to link every page to a stylesheet and header, but the pages can't find those things, so the whole layout on at least 30 or 40 of them is totally fucked. I'm not EVEN going to start pasting the style code into every one of those pages. Not at 12:30 am on a day when I have two finals. No way in hell. There has to be an easier solution. Something probably just got tweaked with the server to where it doesn't recognize PHP. I emailed the resident techie guru of our department. He knows everything there is to know about computers, servers, and programming languages.
That said, I'm going to bed.
That said, I'm going to bed.
(no subject)
Date: 2003-12-17 04:59 am (UTC)However, I'm curious as to why in the world they've chosed to include their stylesheet using php? There's a very simple way to do this using HTML.
Like this:
<link rel="stylesheet" type="text/css" media="screen" title="whatever" href="path_to_stylesheet.css" />
Just take your style info and paste it into a file with the extension ".css" and link it in like that. Much simpler and it doesn't rely on php to get it done.
http://www.11oh1.net/include/main.css
There's my stylesheet for 11oh1 if you're curious.
Good luck. I know crap about php so all my run-ins with it have been a big nasty. If you can't find help at work try going to http://www.ozoneasylum.com and asking your question in the PHP forum. You'll get a solution there I'm sure.
(no subject)
Date: 2003-12-17 06:35 am (UTC)