View Single Post
Old 07-25-2008, 11:23 AM   #8 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by ncorpse View Post
I tried that out it doesn't work.
PHP Code:
define('DOCROOT','/var/www/patric/Adressverwaltung/');
...
echo 
'<link rel="stylesheet" type="text/css"  href="'.DOCROOT.'inc/css/stylesheet.css">'."\n"
It seems that it is not working when i use an absolut path. when i use ./.../ instead it works fine.
Do I need to do something with the php include paths?
I don't think you can use path in href, just do the url base.
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
The Following User Says Thank You to Orc For This Useful Post:
ncorpse (07-25-2008)