logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > PHP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 02-28-2012, 07:36 PM   #1
EmilyPEarwig
 
Join Date: Feb 2012
Posts: 4
Default PHP Server Side Include Not Working

It seems so simple. This page

http://50.62.128.53/about/

includes the following "include"

<ul id="nav"><?php include("includes/nav.php"); ?></ul>

I've published out the nav.php file, but the html isn't pulling into the aforementioned page.

HALP!?!? May thanks and kind returns.
EmilyPEarwig is offline   Reply With Quote
Old 02-29-2012, 01:40 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

i think your path is wrong http://50.62.128.53/about/includes/nav.php is 4o4 so try
<ul id="nav"><?php include("../includes/nav.php"); ?></ul>
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 02-29-2012, 03:43 PM   #3
EmilyPEarwig
 
Join Date: Feb 2012
Posts: 4
Default

Bali-

Thanks for your kind reply. That was a mistake with the previous path. I still, however, cannot get it working.

<div id="nav">
<ul id="nav"><?php include("/includes/menu.php"); ?></ul>
</div>

The page again is at: http://50.62.128.53/about/

Thanks again!
EmilyPEarwig is offline   Reply With Quote
Old 02-29-2012, 03:45 PM   #4
EmilyPEarwig
 
Join Date: Feb 2012
Posts: 4
Default

Sorry "edbr" I guess your name isn't "Bali Villas."
EmilyPEarwig is offline   Reply With Quote
Old 02-29-2012, 04:00 PM   #5
EmilyPEarwig
 
Join Date: Feb 2012
Posts: 4
Default

I should mention this site is on a Windows I5 server...
EmilyPEarwig is offline   Reply With Quote
Old 03-01-2012, 12:07 AM   #6
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

ah is php installed on it? also i think it should be
<?php include("../includes/menu.php"); ?>
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:12 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com