Hi
I have never used .htaccess but I'll read up on it, I am the ISP so it 
won't be a problem :)

Tom

At 06:12 PM 6/04/2002, Chris Adams wrote:
>In article <[EMAIL PROTECTED]>, Tom
>Rogers wrote:
> > Thats what I was after :)
>
>Glad I could help.
>
> > At the top of each page I now do
> >
> > $reltoroot = preg_replace("|/[^/]+|", "../", 
> dirname($_SERVER['PHP_SELF']));
> > ini_set 
> ("include_path",ini_get("include_path").":".$reltoroot."../include");
> >
> > which takes care of the include path
>
>Out of curiosity, couldn't you put something like
>php_value include_path .:/document/root/include:/usr/lib/php
>
>in a .htaccess file? Or has your ISP disabled .htaccess files?
>
>Chris
>
>--
>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