-
Posts
19 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Female
themuffin's Achievements
Newbie (1/5)
0
Reputation
-
Thanks all..
-
Actually I don't want to use the old site.. that is one I created in 2007.. have moved on since then which is why I am using php or should I say trying to
-
very last q I PROMISE!! and by the way you are a PHP GOD!!! which of those pages gets all the metatags, and css style sheet include link, I directed the page to get content1 info and voila!! check it out: http://feelingabsolutelyfabulous.com/index.php I have to add the rest of my design but you have aided me greatly! I really thank you for all your time and patience.. you must be a great guy!!
-
thanks so much.. so you know I'm not using a database and wanted to have the content files? I don't know where.. can I save them as _filename_bdy.php or should it be html or how does it know to change the content.. I sound like a dunce.. I did make a set of files for another site using all includes without the template file and then had to make a filename.php and a filenamebody.html to be included.. I am so thankful for all your help...
-
ok..better..so look at this http://feelingabsolutelyfabulous.com/matt.php ok so I messed around a bit more.. can I ask one last q? if I want to use that (fixed properly) as a template and want to create the content for the main area.. what is the php statement? to get the files into it? I hope I worded that right and you freakin' ROCK!!
-
ok.. so here is the header.php file <?php $header .= $page_title; $header .= "<img src="/images/fab/mini_logor.gif" alt=" Feeling Absolutely Fabulous Logo" />"; ?> --- and here is what i get now.. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/s/c/t/sctfaery/html/fab/includes/header.php on line 3
-
ok YES i did change them to ../fab/includes/*.php? as per your suggestion.. and the footer got included? how come I can't see it? so I am totally retarded.. and old.. maybe this is all beyond me.. I hate to quit.. anything, but
-
ok so I did that and now get this.. Warning: main(../fab/header.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 7 Warning: main() [function.include]: Failed opening '../fab/header.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 7 Warning: main(../fab/main_menu.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 8 Warning: main() [function.include]: Failed opening '../fab/main_menu.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 8 Parse error: syntax error, unexpected '>' in /home/content/s/c/t/sctfaery/html/fab/includes/footer.php on line 4 HUH???? I am about ready to give up..I bet you guys are WAY PAST THAT!!!
-
Maq- page goal.php- <?php $site_title = "Feeling Absolutely Fabulous"; $page_title = "Welcome Page"; $main .= "<div style=\"text-align:left; margin:10px;\">Welcome to the Feeling Absolutely Fabulous website!<br />I hope that you enjoy your time here</div>"; include_once($_SERVER['DOCUMENT_ROOT'] . '../fab/header.php'); include_once($_SERVER['DOCUMENT_ROOT'] . '../fab/main_menu.php'); include_once($_SERVER['DOCUMENT_ROOT'] . '../fab/includes/footer.php'); include_once($_SERVER['DOCUMENT_ROOT'] . '../fab/includes/template.php'); ?> ------------------- page content1.php- <?php $site_title = "My Website"; $page_title = "Sample Template Content Page 1"; $main .= "<div style=\"text-align:left; margin:10px;\">Welcome to the Feeling Absolutely Fabulous website!<br />I hope that you enjoy your time here</div>"; require('../fab/header.php'); require('../fab/includes/main_menu.php'); require('../fab/includes/footer.php'); require('../fab/includes/template.php'); ?> error message for content1.php Warning: main(../fab/header.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/content1.php on line 7 Warning: main(../fab/header.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/content1.php on line 7 Fatal error: main() [function.require]: Failed opening required '../fab/header.php' (include_path='.:/usr/local/lib/php') in /home/content/s/c/t/sctfaery/html/fab/content1.php on line 7 my humble apologies..
-
ok..so I did that and then this is the message I'm now getting Warning: main(/home/content/s/c/t/sctfaery/html../fab/includes/header.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 7 Warning: main() [function.include]: Failed opening '/home/content/s/c/t/sctfaery/html../fab/includes/header.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 7 Warning: main(/home/content/s/c/t/sctfaery/html../fab/includes/main_menu.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 8 Warning: main() [function.include]: Failed opening '/home/content/s/c/t/sctfaery/html../fab/includes/main_menu.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 8 Warning: main(/home/content/s/c/t/sctfaery/html../fab/includes/footer.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 9 Warning: main() [function.include]: Failed opening '/home/content/s/c/t/sctfaery/html../fab/includes/footer.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 9 Warning: main(/home/content/s/c/t/sctfaery/html../fab/includes/template.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 10 Warning: main() [function.include]: Failed opening '/home/content/s/c/t/sctfaery/html../fab/includes/template.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/c/t/sctfaery/html/fab/goal.php on line 10
-
/home/content/s/c/t/sctfaery/html/fab/includes I'm pretty sure.. I am using dreamweaver which is why I asked where to go to see the directory thing that one of you said to type in (pwd)
-
my guess is.... not in the least. muffin... go to the directory where these include files are located and type: pwd what's output? so my files from the root are: /fab/ images includes scripts
-
my guess is.... not in the least. muffin... go to the directory where these include files are located and type: pwd what's output? go to the directory in what? the browser? Please don't give up on me..
-
I'm not positive about anything.. sadly.. I am totally muddled.. so this site is hosted as a folder of another site /fab/ so how do i write it so it goes to that folder? I managed to install an Apache server ? on my local machine but I am not sure exactly how to direct each site where to put the testing files so I can see them.. I know, by now you are thinking you are dealing with a less than intelligent amoeba!! sorry..
-