damn php includes.., May the rotttt |
damn php includes.., May the rotttt |
Mar 23 2006, 06:33 PM
Post
#1
|
|
|
show me a garden thats bursting to life ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 12,303 Joined: Mar 2005 Member No: 115,987 |
K, I got rehosted, and I honest to God can not get my stupid php includes to work.
My OLD include was: QUOTE <?include ("http://elegance.foreverbliss.org/header.php"); ?> Which calls for my OLD HEADER, which was: QUOTE <?php require('/home2/asweetap/public_html/elegance/wordpress/wp-blog-header.php'); ?> <?php get_header(); ?> My host tried changing it to: QUOTE <?include ("/home/.festus/classique/classique.impersonal.tv/header.php"); ?> But, that doesn't work either. I just need some gosh darn php help. Completely. |
|
|
|
![]() |
Mar 23 2006, 08:08 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
See that is why I build the whole site in wordpress.
Anyways you tried doing it the first way by linking it before doing this: <?include ("/home/.festus/classique/classique.impersonal.tv/header.php"); ?> ? This probably won't make a diff but you can try spacing <? and include. It probably won't do anything at all though. Like <? include("dooooobydoobydoob");?> |
|
|
|
Kristinaa damn php includes.. Mar 23 2006, 06:33 PM
mipadi Use relative links. For example, if the file exist... Mar 24 2006, 09:08 AM
Kristinaa NEVERMINDDD! I got it. Thank you both for your... Mar 24 2006, 09:52 PM![]() ![]() |