Re: [phplib] How to install on shared server? From: Holger Blasum (blasum <email protected>)
Date: 08/14/00

Hi Irfan, Jorge,

Iff you like to play a little -- stricly there is no need to install PHPLIB the way the manual suggests it (which is a nuisance when you have to run application a with say PHPLIB 6.0 and application b with say PHPLIB 7.2)...

Eg you can also include anything (such as prepend.php3) manually:

my_application.php3:

<?
include("$DOCUMENT_ROOT/phplib/prepend.php3");
?>

Also you can override global PHP variables in your local .htaccess such as:
#iff you are using php4, write php_flag name on|off and php_value name value
#instead, see PHP documentation: configuration section.

#The below-mentioned directives follow phplib documentation section 2.6.
#You may wish to outcomment if you are NOT running as Apache module.
php3_magic_quotes_gpc On # magic quotes for incoming
                              # GET/POST/Cookie data
php3_magic_quotes_runtime Off # magic quotes for runtime-generated data,
                              # e.g. data from SQL, from exec(), etc.
php3_magic_quotes_sybase On # Use Sybase-style magic quotes
                              # (escape ' with '' instead of \')
php3_track_vars On # enable $PHP_GET_VARS[], $PHP_POST_VARS[]
                              # and $PHP_COOKIE_VARS[] arrays

But admittedly you may have to play a little.

Happy hacking, Holger

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