I have searched long and heard, but I have failed to find a working instructions on how to accomplish the following:
I have a web server (in my closet) that is running Windows XP Pro SP2 and Apache 2.2 and PHP 5.2.5.5 (I believe) and I have lots of PHP codes that I'm dying to integrate on my site, but would like to make it like CSS (one PHP page that is linked to). My problem is that I cannot link to the php page from an HTML document. I have tried a few ways and none work. I was told that I need to configure Apache to parse the PHP in the HTML (<?php import("myfile.php"); ?>) and actually run the code in myfile.php instead of just read it and ignore it. How can I achieve this? Any help would be much appreciated!
EDIT: I also have MySQL 5.0 installed, in case that makes a difference...




) that is running Windows XP Pro SP2 and Apache 2.2 and PHP 5.2.5.5 (I believe) and I have lots of PHP codes that I'm dying to integrate on my site, but would like to make it like CSS (one PHP page that is linked to). My problem is that I cannot link to the php page from an HTML document. I have tried a few ways and none work. I was told that I need to configure Apache to parse the PHP in the HTML (<?php import("myfile.php"); ?>) and actually run the code in myfile.php instead of just read it and ignore it. How can I achieve this? Any help would be much appreciated!
Reply With Quote