Posted by Stefan Mueller on 01/12/06 11:06
> That's great. Therefore, with
> <?php
> require "D:\WWW\scripts\anmeldungen_Show.php";
> ?>
> I can do what a shortcut is supposed to do.
> This code includes my whole HTML file inclusive the PHP code and does
> exactly what I'd like to have.
The command 'require' works really great, but it doesn't work with a shared
..css file.
I've a .css file called 'default.css' also in 'D:\WWW\scripts'. But it
doesn't get loaded.
<html>
<head>
...
<link rel = "stylesheet" type = "text/css" href =
"D:\WWW\scripts\default.css">
</head>
<body>
<?php
...
?>
</body>
</html>
If I put 'default.css' into the same directory where my php file with the
command 'require' is located then it works if I use
<link rel = "stylesheet" type = "text/css" href = "default.css">
But I'd like to have my .css files also at a shared place.
Is there also something like a 'require' command for a .css file?
Stefan
[Back to original message]
|