Jump to content

New Server Old Files


joebpa

Recommended Posts

I currently have a windows 2003 web edition server W/ php installed. I have followed many instructions, but had litle success until recently. Thanks, to wildteen88 for the link i found in one of your responses. I am now able to pull up the phpinfo from the local wwwroot and from one of my websites. Here is the breakdown of what works and what doesn't

1. http://localhost/info.php
          This file consists of (<?php
                                      // Show all information, defaults to INFO_ALL
                                      phpinfo();
                                      ?>
and properly displays the php information

2. Copied the same info.php file to one of my websites (located on the same server)
    www.mywebsite.com/info.php
this also displays properly.

3. attempt to get counter working
    www.mywebsite.com/counter.php
counter does run and incriment correctly.

4. attempted to add the counter to the main page of this website (index.html). The command added on the bottom of the index.html file was (<?PHP include ("counter.php"); ?>).

Nothing displayed.

5. Created a new blank html document called (indexphp.html) and only added one line (<?PHP include ("counter.php"); ?>). All I receive is a blank page.

I am assuming that php is installed correctly based on the responses above, and that this is a problem with the html page calling/executing the php script.

NOTE** our original server that lost its active directory information to the IIS user accounts due to active directory crashing was running on a windows 2K server with IIS 5 and php 3.

Are we just missing the proper coding or is this something with the configuration. All php files are in the php directory and c:\php was added to the path.

Are there programing/coding issues when trying to run scripts created with ver 3 and now using ver 5?

Thanks in advance.
Semper Fi.
Joe
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.