good morning all, How can I include src and href in include files that will refer the right paths from files in different hierarchies(directory tree levels)? Example: include dirname(_FILE_)."/../lib/header1.php"; ? This does not work: snippetysnip... <LINK href="dirname(_FILE_).'/../lib/index.css'" rel="stylesheet" type="text/css"> </head> Nor does this: (NOTE THE DIFFERENCES " AND ' IN THE SRC AND HREF) <div id="frame"> <IMG SRC=dirname(_FILE_)."/../images/bannerbae1.gif" ...snippetysnip Perhaps it's not possible? -- unheralded genius: "A clean desk is the sign of a dull mind. " ------------------------------------------------------------- Phil Jourdan --- pj@xxxxxxxxxxxxx http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php