sKunKbad Posted June 17, 2007 Share Posted June 17, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.