FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » can't get includes to load
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
can't get includes to load [message #180920] Tue, 26 March 2013 06:52 Go to previous message
Cal Dershowitz is currently offline  Cal Dershowitz
Messages: 36
Registered: February 2013
Karma:
Member
$ pwd
/home/sites/migrate
$ ls -l
total 168
....
drwxr-xr-x 2 fred automation 4096 Mar 25 23:03 includes
-rw-r--r-- 1 fred automation 2208 Mar 25 23:32 index.html
....
-rw-r--r-- 1 fred automation 896 Mar 25 21:49 style.css
....
drwxr-xr-x 2 fred automation 4096 Mar 25 21:56 variables
$ cd includes/
$ ls -l
total 20
-rw-r--r-- 1 fred automation 88 Mar 25 23:03 footer.php
-rw-r--r-- 1 fred automation 106 Mar 25 23:02 footer.php~
-rw-r--r-- 1 fred automation 99 Mar 25 22:08 header.php
-rw-r--r-- 1 fred automation 0 Mar 25 21:57 header.php~
-rw-r--r-- 1 fred automation 141 Mar 25 22:15 nav.php
-rw-r--r-- 1 fred automation 0 Mar 25 21:59 nav.php~
-rw-r--r-- 1 fred automation 638 Mar 25 22:16 sidebar.php
-rw-r--r-- 1 fred automation 0 Mar 25 22:00 sidebar.php~
$ cd ..
$ cat index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<meta name="description" content="" />

<meta name="keywords" content="" />

<meta name="author" content="" />

<link rel="stylesheet" type="text/css" href="style.css" media="screen" />

<title>Food, Glorius Food</title>

</head>

<body>

<div id="wrapper">

<?php include('includes/header.php'); ?>

<?php include('includes/nav.php'); ?>

<div id="content">

<h1>This is how</h1>
<h2>headlines</h2>
<h3>can get</h3>
<h4>smaller</h4>
<h5>and smaller</h5>

<h3>Food: do we need another site for it?</h3>

<p>

What makes recipes good? a) when they're useful. b) when you can find
them. c) when they're adaptable. In this picture, we see the
california brown rice measured while the water comes to boil. There's a
can of tomatoes and a can of pineapple that came from the Alameda County
food bank. This gives us another criterion: d) when they use up what
you have.


</p>

<p>

When you're getting cans of food from who knows where, you have to wash
the tops before you open them. Food-born sicknesses usually only kill
the infirm, but you talk to people like loni fredricks, that's not a
small thing.

</p>

<h3>I had a pork dish too</h3>

<p>

I spent one dollar on the protein for this to feed 2. This was sweet
and sour pork over rice and a fantastic success. (My) Jenny ate it all
night and has the nutrition she needs to start the week out well.
Pretty standard reduction while I watched march madness.


</p>

<p>

Also, got my tools sorted out. I'm not beating the brush in oakland to
find under the table work. What I think I'm gonna find out is that I
have a renewed incentive to work *over* the table again, and to do that
I am going to promote myself with php, which could do this whole recipe
thing with permissions and comments and all that.


</p>

</div> <!-- end #content -->

<?php include('includes/sidebar.php'); ?>

<?php include('includes/footer.php'); ?>

</div> <!-- End #wrapper -->

</body>

</html>


$

Right now, index.html loads but none of the other and it exits without
complaint. This is only running on my linux machine here at the local
root directory, which is indicated by the pwd command.

Thanks for your comment.
--
Cal
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mysql dynamic binding and pass-by-ref deprecated
Next Topic: Java conferences in India...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 13 01:11:14 GMT 2024

Total time taken to generate the page: 0.04186 seconds