Posted by webguynow on 09/25/00 11:33
I recently read a forum posting on codewalkers.com regarding PEAR on a
shared host and the poster, mentioned 3 methods to assign an
include_path using htaccess.
( Only the 2nd I'm familiar with - so the 1st and 3rd could use some
explaining )
you can use .htaccess files to overwrite php's include_path for your
site.
Or at the beginning of each script that uses pear you can ini_set() a
new include path that includes pear.
or combine the approach and use .htaccess to define an auto_prepend
which is a .php file that ini_sets() your pear path.
[Back to original message]
|