kwandoa Posted April 17, 2013 Share Posted April 17, 2013 Hi For some strange reason, I cannot seem to save a header.html file on my local server. I can save the footer.html and all the other files but not header.html. I have tried using various programs...even Front Page...still nothing. What I have done though, is to save my header file as h1.html and that seems to work. Link to comment Share on other sites More sharing options...
HartleySan Posted April 17, 2013 Share Posted April 17, 2013 What do you mean you can't save the file? Isn't it just a matter of saving a file in a folder, or saving the file in another folder and then moving it? Do you get some kind of error? Link to comment Share on other sites More sharing options...
kwandoa Posted April 17, 2013 Author Share Posted April 17, 2013 No error, the file saves but I cannot see it when I open it in my server. Only if i save it as h1.html , do i see it on my server. I see my footer.html though. It is not a major problem, I just wanted to know if this is a common problem. Link to comment Share on other sites More sharing options...
Larry Posted April 17, 2013 Share Posted April 17, 2013 Not common at all, very strange, in fact. Link to comment Share on other sites More sharing options...
HartleySan Posted April 17, 2013 Share Posted April 17, 2013 kwandoa, please present us with your directory structure in relation to the header and footer files and the file that is including both files along with the include/require function calls being used in your file. Thank you. Link to comment Share on other sites More sharing options...
kwandoa Posted April 18, 2013 Author Share Posted April 18, 2013 ok...here goes. (header.html && footer.html) =>/C:/EasyPHP/www/basicMySql/includes index.php => /www/basicMySql/ <?php # Script - index.php $page_title = 'Welcome to this Site!'; include ('includes/header.html');?> <?php include ('includes/footer.html'); ?> The includes/footer works fine. Link to comment Share on other sites More sharing options...
HartleySan Posted April 18, 2013 Share Posted April 18, 2013 That code looks fine. It must be an issue in the header file itself. Is there an error in the header code, by chance? Is any of the header code being printed out, or none of it? Link to comment Share on other sites More sharing options...
kwandoa Posted April 19, 2013 Author Share Posted April 19, 2013 I have uninstalled and reloaded easyPHP and it does run it now BUT it does not show the file (header.html) in the EasyPHP admin page . It does show all the other files, including the 'h1.html'. If I go to the folder via windows7, i can see it... so i'm thinking it's an EasyPHP glitch...I can live with it for now. Link to comment Share on other sites More sharing options...
HartleySan Posted April 19, 2013 Share Posted April 19, 2013 All right. I think it would be best to try and resolve the issue, but if you're satisfied as is, that's fine too. Link to comment Share on other sites More sharing options...
Recommended Posts