[PHP] relative path vs. INCLUDE() !!!!!

2001-12-24 Thread Arcadius A.

Hello !
I've just made a nice navavigation  bar for my website 
The nav. bar is  a php file (Templates/inc_nav.php)containing links to other
pages of my site. the links has been made relatively to the file
inc_nav.php;
Now that I've included the inc_nav.php in other pages , my links no longer
work ... it seems that PHP just copy the content of the nav bar into other
pages so , links are now relavite to the current page and this of course
doean't work !!! :-(((
Is there any workaround or any othe way  to include a nav bar in PHP without
breaking the links ?
I hope you understand what I mean ...

Thanks

Arcad.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] relative path vs. INCLUDE() !!!!!

2001-12-24 Thread Bogdan Stancescu

This is a kind of a shit happens answer -- ummm... nope,  there's no
workaround. The only workaround is providing a global path variable and use that
for all pages, but you probably already thought about that. Sorry for the bad
news on Christmas! :-)

Bogdan

Arcadius A. wrote:

 Hello !
 I've just made a nice navavigation  bar for my website 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] relative path vs. INCLUDE() !!!!!

2001-12-24 Thread Justin Garrett

There is also include_path in the php.ini file.

Bogdan Stancescu [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 This is a kind of a shit happens answer -- ummm... nope,  there's no
 workaround. The only workaround is providing a global path variable and
use that
 for all pages, but you probably already thought about that. Sorry for the
bad
 news on Christmas! :-)

 Bogdan

 Arcadius A. wrote:

  Hello !
  I've just made a nice navavigation  bar for my website 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]