Re: Includes failing when site is accessed by IP?

From: Date: Tue, 27 May 2003 09:11:09 +0000
Subject: Re: Includes failing when site is accessed by IP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149064@lists.php.net to get a copy of this message
on Tue, May 27, 2003, Leif K-Brooks wrote: >My site is http://ecritters.biz/ecnewsecsite/. It works fine, >but when >I access it by its ip address (http://216.127.80.69/ecnewsecsite/), >including fails. The file being included is stored below the web root >using include_path which is set in a .htaccess file. Anyone know what's >going on? I had a similar error sometime ago, changing from : include ("/some_file.php"); to include ("./some_file.php"); solved the problem Ian

« previous php.general (#149064) next »