|
|
|
|
![]() ![]() |
Sep 18 2007, 11:46 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 255 Joined: 21-January 07 Member No.: 37,585 |
Can someone help me out i am having a problem with one of my pages i am trying to use the include code for my navigation and top links.
Here is the page http://www.neoevolution.net/neo_guides/Kadoatie.php Php Code-All my include code have this path way just with diffrent names. I tried putting the path ways like /home/phpinclude/filename but that did not work. I have searched for a lot of tutorials but i have tried all and they have not helped. So can anyone help me out? CODE <?PHP
include($DOCUMENT_ROOT . "/phpincludes/top_link_1.php"); ?> |
|
|
|
Sep 19 2007, 12:05 AM
Post
#2
|
|
|
Define:EVIL PROGRAMMER (ē'vəl prō'grăm'ər)- n. An organism that converts caffeine into evil software. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,018 Joined: 25-September 05 From: L.A. Member No.: 12,251 |
Yes, just typing $DOCUMENT_ROOT only works if global variables have been forwarded to normal variables. Try this:
CODE <?PHP
include($_SERVER['DOCUMENT_ROOT'] . "/phpincludes/top_link_1.php"); ?> |
|
|
|
Sep 19 2007, 12:06 AM
Post
#3
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,993 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
|
|
|
|
Sep 19 2007, 11:31 PM
Post
#4
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 255 Joined: 21-January 07 Member No.: 37,585 |
Thanks guys that help fixed it.
|
|
|
|
Sep 19 2007, 11:40 PM
Post
#5
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,993 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
Topic is resolved.
Please PM any moderator to continue this discussion. Until then, this topic is closed. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th September 2008 - 01:41 PM |