ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Lib
php-Lib
Re: [phplib] security check of phplib site
by Dima Nemchenko other posts by this author
Jul 16 2001 8:50AM messages near this date
RE: [phplib] security check of phplib site | RE: [phplib] security check of phplib site
Matt Williams wrote:

> 
>  -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
> 
>  > to check your phplib try
>  >
>  > http://your.site.com/any/phplib/page.php?_PHPLIB[libdir]=XXXX
>  >
>  > if you get an error like
>  >
>  > Fatal error: Failed opening required 'XXXdb_mysql.inc'
>  > (include_path='') in
>  > /usr/project/horde/phplib/prepend.php3 on line 19
>  >
>  > then its KO
>  >
>  > if your pages show up, then it's OK
>  >
>  Thanks
> 
>  I had to remove all calls to _PHPLIB["libdir"] from prepend.php3, not
>  just remove the
>  if (!is_array($_PHPLIB)) {
> 
>  lines
> 
>  Cheers
> 
>  M@

Umm...


It's probably best to have just stuck with commenting out the "if
(!is_array($_PHPLIB)) {" and "}". Those definitions are there for a
reason! :)

This is an important note, btw: if  you comment out the "if
(!is_array($_PHPLIB)) {", you have to also comment out the closing "}" for
the "if" statement.
--

:D_ima
Dima Nemchenko <Dima.Nemchenko@[...].uk> 

"Open source code is like lobster--most people who haven't tried it don't
like the way it looks. But those who try it, love it."



-- 
Abbestellen mit Mail an:   phplib-unsubscribe@[...].de
Kommandoliste mit Mail an: phplib-help@lists.netuse.de
Thread:
giancarlo pinerolo
giancarlo pinerolo
Matt Williams
giancarlo pinerolo
Matt Williams
Dima Nemchenko
Matt Williams
giancarlo pinerolo
giancarlo pinerolo
Thies C. Arntzen
Matt Wong

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved