Re: [phplib] How to install on shared server? From: Michael D. Eschner (mde <email protected>)
Date: 08/15/00

> I would like to see the instructions too, I am also wondering how to
install
> phplib in a shared server...

Excuse my bad english, but I'll try it.

1. You need track_vars = on, look in phpinfo()
2. If you don't have track_vars on you have to begin your script with
php_track_vars? (this is a Lexer-token and has to be exactly written as
in the example)

<?php_track_vars?><?php
// include()
page_open(...)
?>

3. If you can't set include_path you must include in prepend.php3 the
variable $_PHPLIB["libdir"] and include prepend.php3 in all your pages
which use PHPLIB

Pages which use PHPLIB looks so:

<?
include ("/home/www/include/prepend.php3");
page_open(...);
?>

In prepend.php3 is written:

if(!is_array($_PHPLIB)) {
    $_PHPLIB["libdir"] = "/home/www/include";

All the other installation is the same as with an own server. I have the
PHPLIB installed on a shared server and it runs without problems.

mde

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