![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Are there any reasons why an Include wouldn't work? I'd started a site on my own web space, and it worked just fine. I've now moved all the files over to the sites host, and uploaded it - but the Includes no longer work. There will be a small database element to the site, and PHP includes work OK - would it be bad practice in any way just to save all the pages as .php? The page is here : http://www.mph.uk.com/index.shtml If you view the code, you can see the include code : !--#include file="navigation.html" -- Any reason it's not pulling through the file? |
#3
| ||||
| ||||
|
|
I've now moved all the files over to the sites host, and uploaded it - but the Includes no longer work. |
|
would it be bad practice in any way just to save all the pages as .php? |
|
Any reason it's not pulling through the file? |
|
Are there any reasons why an Include wouldn't work? I'd started a site on my own web space, and it worked just fine. I've now moved all the files over to the sites host, and uploaded it - but the Includes no longer work. There will be a small database element to the site, and PHP includes work OK - would it be bad practice in any way just to save all the pages as .php? The page is here : http://www.mph.uk.com/index.shtml If you view the code, you can see the include code : !--#include file="navigation.html" -- Any reason it's not pulling through the file? |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |