Provide an absolute path to the file, like /path/path1/incl.txt instead of a
URL.
<[EMAIL PROTECTED]> wrote in message
003701c13854$50ecf780$0100a8c0@pentium333">news:003701c13854$50ecf780$0100a8c0@pentium333...
Hi
I have a little Problem with include.I want to include a txt file in every
php file on the server but some php files are in other directories and dont
include this txt file.
Example :
Url for the txt file : www.domain.com/include/incl.txt
So www.domain.com/index2.php includes the txt file correctly but
www.domain.com/shop/shop.php dont do this.
In the include command i used the serverpath to the txt file.
So what should i do ?
Thanks for support !
chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]