Justin: Are you including the myfile.php into another php file, if so, it
seems you left the include_dir variable blank in your php.ini, so what you
have to do is put a path to a directory where you want to always find your
includes, or you can type in the relative path to your included file from
the path where you have the file you are including it to.

Say for example that the myfile.php is in a dir called "bin" and the file in
which you are including it is in a dir called "help" both on your webroot
dir, what you would do is call it this way: include ('../bin/myfile.php'),
this will help you get around the fact that no include_dir value is
available.

Later.

Iván


-----Original Message-----
From: Justin Blake [mailto:[EMAIL PROTECTED]]
Sent: Sábado, 07 de Julio de 2001 08:00 p.m.
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Instilation problem


I am running Sambar Server Pro v5.0 on Win ME. It requires php4 to run as
isapi. I know my sambar config files are correct but I'm not sure about php.
When I try to run any php file I get:

Warning: Failed opening 'D://docs/bin/myfile.php' for inclusion
(include_path='') in Unknown on line 0

php.ini is in c:\windows and msvcrt.dll and php4ts.dll are in
c:\windows\system

Thanks for any help,
Justin


-- 
PHP Windows 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]

Reply via email to