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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to