Subject Re: [firebird-php] firebird path
Author Helen Borrie
At 12:53 PM 22/05/2005 +0100, you wrote:
>Helen Borrie wrote:
>
> >>Anybody got a way of accessing the path to the firebird directory from PHP?
> >
> > This seems like a good reason for installing the FIREBIRD environment
> variable.
>
>That would be $_ENV['FIREBIRD'] but the firebird installed does not set
>it - does it?

I don't think it does install it by default; since, in the normal run, Fb
1.5 doesn't need it.

>That may be a way round things, and if it does not exist, then I just
>add a field to the install script for the user to enter it ;)

Yup. Provided they know not to enter a share or a mapped drive path, of
course; or your installer was able to ascertain whether it was a valid
absolute path.

H.