RE: [PHP-WIN] include

From: Date: Wed, 23 May 2001 05:47:09 +0000
Subject: RE: [PHP-WIN] include
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7861@lists.php.net to get a copy of this message
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:sunkers@yahoo.com] Sent: Wednesday, 23 May 2001 16:37 To: php-windows@lists.php.net 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: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#7861) next »