Re: [phplib] Installing PHPLib on a hosted site From: A.C.N.S. Information and News (infomail <email protected>)
Date: 01/21/01

Hello,

Thanks for the help thus far. There remains still one small problem. As
stated I'm on a hosted server with no access to the php.ini file (and the
company will not make a change). Moving from this server is at the present
time not feasible. Is there a way to override or change the include path
upon script execution? From what I understand the php.ini file still must be
changed. I quote:

"2.5 Using include() instead of auto_prepend_file=
If you do not want to use auto_prepend_file to load the PHPLIB core
functionality, you can load the class definitions for the core manually on
each page that requires them.

You will have to define a valid include_path=-statement in your php3.ini
file as outlined previously to reflect the location of the *.inc files.
Then, all core functionality can be loaded with include("prepend.php3") as
the first statement at the top of each page."

Am I reading this correctly? I hope not but then again nothing is working.

Thanks.
----- Original Message -----
From: "Spruce Weber" <sprucely <email protected>>
To: <infomail <email protected>>
Sent: Friday, January 19, 2001 3:02 AM
Subject: Re: [phplib] Installing PHPLib on a hosted site

> You don't need access to php.ini to use phplib. Simply edit the variable
> $_PHPLIB in prepend.php3 to contain the correct path to the directory in
> which local.inc is located. Then manually include() prepend.php3 in any
> scripts in which you want phplib's functionality.
>
>
> ----Original Message Follows----
> From: "A.C.N.S. Information and News" <infomail <email protected>>
> To: "PHPLib List" <phplib <email protected>>
> Subject: [phplib] Installing PHPLib on a hosted site
> Date: Fri, 19 Jan 2001 00:42:12 +0100
>
> First post so be gentle please. Have found no archives to search so I
must
> ask this. Thanks in advance.
>
> Has anyone installed PHPLIB on a hosted site? And if so how?
>
> Thanks.
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>