You need to specify the full path (unless you're using the include_dir
setting in php.ini).
ie. include ("d:/inetpub/wwwroot/project/includes/test.php");
OR
include (get_env("DOCUMENT_ROOT")."/includes/test.php");
Ignatius Teo
Project Manager, Internet Access Services
Information Technology Directorate
Southern Cross University
PO Box 157, Lismore NSW 2480
Email: iteo_at_scu_edu_au
Phone: +61 2 6620-3221
Fax : +61 2 6620-3033
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/IT$ d++(-)@ s++:++@ a>? C++++ UL !P$ L+
!E W+$ N- o? !K w O---- M- V PS PE++ Y+(--)
PGP- t++@ 5-- X++@ R* tv- b+ DI++ D++@ G
e++ h---- r+++ y++++**
------END GEEK CODE BLOCK------
-----Original Message-----
From: sunker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 23 May 2001 16:37
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] include
help...!!
ilustration:
i got trouble with include on the virtual directory...
a myfile.php -->> include file on directory includes/test.php
why it shouldn't work?. when i moved my file test.php from directoy
includes, with the same level of myfile.php directory it's work ?
examples: include "test.php";
--
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]
--
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]