Jump to content

include_path error with new installation


Recommended Posts

I am trying to include a file in the same directory using the standard code:

 

include('textlinks.inc');

 

and I get this error:

 

Warning: include() [function.include]: Failed opening 'textlinksinc' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\tvsc\new_php_files\4salebyowner.php on line 65.

 

I'm guessing it's saying all my includes need to be in the C:\php5\pear folder, but I just want the includes in my www directory. How do I fix this?

 

Thanks in advance,

Link to comment
https://forums.phpfreaks.com/topic/55966-include_path-error-with-new-installation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.