This is a discussion on "Need some help" within the PHP Forum section. This forum, and the thread "Need some help are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Need some help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Need some help
I am in a bit of a panic here, cos I usually design on my Sony Vaio, but it's recently decided to die on me, and I think I've lost all my files.
The websites are all online so they are 'safe' so to speak, but the problem is this... I downloaded them, all of which are .php, from my ftp manager (a freeware one) and none of my php include codes are working. I've got the header, navigation bar, footer, etc, all as seperate files, but when I put this: <?php include ("header.php") ?> Like i usually do, but the page is just coming up as white with plain text, etc. It's a real pain in the arse cos I have a website with 100 odd pages and I really don't want to have to make them all again Is the downloading of the page adding something to the code that I'm unaware of? The only obvious difference is that all the lines of code are double-line spaced for some reason. |
|
|
|
||||
|
Re: Need some help
Could we have a link and maybe some more code?
|
|
|||
|
Re: Need some help
Sure the link is www.joannaeyre.co.uk/ssm
It's not finished yet, the stupid computer died halfway through making it! I want to be able to put the header, navigation bar, and footer onto seperate pages with the include code I put above, which is what I usually do. I had to download the files onto this other laptop so I could work on it, but the code doesn't seem to work anymore. When I've finished burning this disk I'll print screen a picture of what comes up insted... I'm on the slowest laptop in the world which struggled to even open Dreamweaver, let alone use it lol. |
|
|||
|
Re: Need some help
Quote:
I'm not sure if that's your whole problem, though ... it could be that you've got other extensions being added (an extra .txt on the end of a file name), or that your text contains some absolute paths that leaves things out of place in the new system unless you position things identically |
|
|||
|
Re: Need some help
Ahhh. Well I suppose it doesn't matter either way as both my computers are down so I have nothing to work on now!
Hopefully a technician can sort both out and I can get the original files back. What a pain! |
![]() |
| Tags |
| php include code |
| Thread Tools | |
|
|