Joined: 21 Aug 2014 |
Posts: 2 |
|
|
 |
Posted: Thu Aug 21, 2014 10:02 am |
|
 |
 |
 |
 |
My first post to this forum, not sure if right place, please let me know if different.
After recent phpED upgrade to 14309 64 bit personal edition, I have strange problem. Not related to upgrade? I don't know.
I have web page, index.html that uses php function to get consistent look across site, using open_page() type function. It works just as I wish.
I create an IDENTICAL web page index.html in a new project, set up identical to the first, and localhost does not parse php code, it just displays it??
If I save this page as index.php, it displays fine, just as the original page in the original project did AND STILL DOES as index.html.
Any change in settings, mistakes, etc should affect both projects, would they not?
Any help in what to look for would be greatly appreciated, I have gone over and over and over and not seeing anything different in the code.
Server set up XAMPP Apache if makes any difference. Don't think server is issue, but just don't know at this point.
The code, if it will help is:
<?php
include_once("info/class_page.inc");
include_once("info/define.inc");
$newPage = new page( );
$index = 1;
$title = "Title";
$author = "Author";
$keyWords = "Keywords";
$description = "Description";
$heading = "Heading";
$newPage->open_page( $index, $title, $author, $keyWords, $description, $heading );
?>
<p>Text begins here</p>
End of Code here ----------------
But, looking a little closer, the output of the index.html on the local host begins at open_page->
Looking in the source code, all of the php code is there where it should not be????
|