View Single Post
Old Aug 4th, 2005, 1:06 AM   #23
jcmnetmedia
Newbie
 
jcmnetmedia's Avatar
 
Join Date: Aug 2005
Location: Wilsonville, Oregon
Posts: 3
Rep Power: 0 jcmnetmedia is on a distinguished road
Looks like this topic is pretty much closed, but here's a note about includes.

On certain servers, if you have an includes directory specified in php.ini, when you put

include('thefilename.inc');

some servers look in the global includes for the file, not the directory the script is sitting in. The solution for it is pretty simple:

include('/thefilename.inc');

or

include('./thefilename.inc');

I've seen cases where that has worked. There is probably a smarter way around that, but its worked for me.
__________________
Jeremy Morgan,
Check out my SEO Blog.
Simplicity is the ultimate sophistication!
jcmnetmedia is offline   Reply With Quote