You are here: Re: How to call a PHP script by using something like a shortcut « All PHP « IT news, forums, messages
Re: How to call a PHP script by using something like a shortcut

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация