View Single Post
Old 07-26-2010, 07:51 AM  
crazytrini85
Confirmed User
 
crazytrini85's Avatar
 
Industry Role:
Join Date: Jun 2006
Location: Over there.
Posts: 817
Quote:
Originally Posted by woj View Post
it's bad idea, use full path instead:
include('/home/bluh/bluh/footer.php');
Why is it bad idea for not using full path? I've always used relative paths. Am I asking for trouble?


And thanks to the first poster, it is "echo $_SERVER['SERVER_NAME'];" I was looking for.
crazytrini85 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote