miraje: (Default)
[personal profile] miraje
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.

(no subject)

Date: 2003-12-17 04:59 am (UTC)
From: [identity profile] maffewk.livejournal.com
I don't know much about php at all so I can't help you out with that one.

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)
From: [identity profile] miraje.livejournal.com
I have no idea why the designer of the site used PHP for that. I hate it myself. Maybe one day at work when I'm really super extraordinarily bored, I'll change everything over. It's fixed now, though. Something with the PHP got tweaked after some upgrades were done on the server.

Profile

miraje: (Default)
miraje

February 2010

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags