TCH-Don
Members-
Posts
11,643 -
Joined
-
Last visited
Everything posted by TCH-Don
-
No problem. the more you try the better you will get and enjoy the benefits.
-
Good now think about putting all the html but the content in your header and footer files to save space and make it easier to modify the look of the site. See my template above.
-
You inc folder is already in the jsa folder Try putting all the files in the jsa folder and link to the includes as <?php include ("filename"); ?>
-
That looks right. But why not try moving all the files into the same folder since the site is not that big at least until you get this working.
-
Also I see you are adding all the html code in each page normally that is part of the header and footer my template looks like this ><?php // add header and additional title $page_title="home"; include('header.php'); // begin main content ?> <h2> <?php echo $page_title; ?> </h2> <p>content</p> <?php // end main content // add footer file include("footer.php"); ?> The header has all the html up to the content and the footer has all the html after the content. That way I can change the layout with just two files.
-
Paths are a litte harder in xampp because it uses the root folder Which is why I generally put all the files in one folder below htdocs. Lets say I call the folder site1 Then I send the browser to htpp://localhost/site1 My includes are in the same folder, so for my index.php file I use a simple include ><?php include("header.php"); ?> So if all your files are in the same folder that will work. But if your includes are in another folder below as in site1/inc then use ><!-- Starting Header Include --> <?php include("inc/header.php"); ?> <!-- Ending Header Include --> So where is the index.php file located and where are the includes?
-
I too have xampp Lite and my files have to go in the htdocs folder?
-
If that is where your other files are put it there for now to get this working. And use include ("filename"); to include from the same folder for now.
-
Locate and run apache_start.bat in the xampp folder. When you goto http://localhost/ with your browser, you are in the htdocs folder in xampp put you files in a folder in there. So if you put your files in xampp/htdocs/inc/ then in the browser goto http://localhost/inc/
-
Thanks for the update and tips this will help others
-
Did you run the batch file to start apache? and then goto http://localhost/inc/index.php the files have to be in or below the htdocs folder.
-
Any time Let us know how it works in case I want to try it
-
You can view the cronjob tutorial movie on the TotalChoiceHosting help site Then it looks like you would use the "php /full/path/to/wp-mail.php" in a cronjob as the command to run after you install the plug-in as per the page you linked to.
-
Added, please check it as you want.
-
Need a title for the site please. As per How To Add Your Site
-
Welcome to the forum, FiReaNG3L
-
Wow! Wait til she finds out that more than a year of hosting here.
-
Yes it does. You might try gmail.
-
Added. Please verify that it look/works as expected.
-
Welcome to the forums freakybig
