Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php refuses to include("./php_file.php") 1

Status
Not open for further replies.

netcomander

Programmer
Jul 20, 2001
68
DE
hi all,

since my last php-compilation, I can't
include files in several scripts like
include("./php_file.php");
,though I made sure the included file
exists.

I then get the error-message:
Warning: Failed opening './mail.inc.php' for inclusion (include_path='/usr/include') in /var...

the upon mentioned path ...='/usr/include' regards
to the include-path line of my php.ini mmmmh

the weird thing is, that my inclusion works on several
scripts, and on some not, without giving me a clue of
what is making the difference.

if anybody could give me a hint, I would be glad

greetings markus
 
in the php.ini do you have . as one of the include dirs?
Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top