include hassle

From: Date: Fri, 02 Aug 2002 14:02:50 +0000
Subject: include hassle
Groups: php.general 
Request: Send a blank email to php-general+get-110817@lists.php.net to get a copy of this message
I have this: //file1.php <? include('../libs/lib1.php'); .. .. .. ?> now lib1.php: <? include ('helper.php'); ?> If i run file1.php ->includes lib1.php -> fails to include helper.php ! ! how can i solve that? p.s: currently, i'm chdir()ing to the ../libs path, then i return to current dir... my code cannot make use of Apache's help. (like setting the include path inside .htaccess) thank you, Elias

« previous php.general (#110817) next »