Jump to content

PHP+iis7, virutal directories and "include"


joe_coolish

Recommended Posts

Hello, it's been a while since I've been here.  I recently started to program in PHP again, and I'm finding a strange thing is happening.

 

I'm using NetBeans 6.8 to do my PHP (if there is another free IDE out there that is better, I'd love to know about it) and I have the project setup so that when I debug, it will use the URL http://localhost/netbeans/testProject/index.php?XDEBUG_SESSION_START=netbeans-xdebug which runs and all is well.

 

In IIS7, 'netbeans' is a virtual directory that points to my netbeans project folder and 'testProject' is a folder inside of the 'netbeans' virtual directory.

 

My problem is with the "include" statement.  When I run index.php, none of the includes are included!  I've tried both local and full pathnames, and even the URL for the file.  Nothing seems to work!  Is there anything I need to try? (p.s. I'm using php 5.3.1)

 

Thanks for any help :)

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.