php include path
Posted by: jgoldstick
Posted on: 2006-08-23 07:38:00
Hi, I checked an earlier thread here, but I believe I have done what was recommended and it isn't finding my include path.
Here is my code:
ini_set('include_path', ini_get('include_path').':'.$_SERVER['DOCUMENT_ROOT'].'/includes');
I get this error message:
Failed opening 'connect.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/home/columbuswebmakers/townlinefarm.com/includes') in /home/.hunter/columbuswebmakers/townlinefarm.com/admin/MailingList.php
I see the difference seems to be the .hunter directory, but I'm not sure what to do about this, since $_SERVER['DOCUMENT_ROOT'] doesn't seem to know about it.