set_include_path(get_include_path().":"/new/incude/path");  

> -----Original Message-----
> From: Alain Williams [mailto:[EMAIL PROTECTED] 
> Sent: 22 December 2003 10:16
> To: [EMAIL PROTECTED]
> Subject: [PHP] include_path
> 
> Is there a way of modifying the include_path within a script, 
> I want to add to it, not completely change it. The sort of 
> thing that I want to do is equivalent to the following bit of 
> shell code:
> 
>       PATH="$HOME/bin:$PATH"
> 
> ie add a user specific part to the path - so that a 
> production/test 'require'
> gets the production/test version of a file.
> 
> Please CC me on any reply since I don't subscribe to this list.
> 
> Thanks
> 
> --
> Alain Williams
> 
> #include <std_disclaimer.h>
> 
> FATHERS-4-JUSTICE - Campaigning for equal rights for parents 
> and the best interests of our children. See 
> http://www.fathers-4-justice.org
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

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

Reply via email to