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 Matt Williams other posts by this author
Jul 16 2001 9:17AM messages near this date
Re: [phplib] security check of phplib site | [phplib] Re: [phplib-dev] More: security: READ THIS!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

not really because it didn't work.

The other calls are only there to tell it where to look for the
required files, but if this is set in php.ini it doesn't matter if
you remove them.

>  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.
>  --

Yes, thanks, I already know that.

Just removing the if statement did solve the problem of including the
remote file. Only by taking out the call to
_PHPLIB["libdir"] in the require calls did it remove the problem.

M@


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> 

iQA/AwUBO1KxMqW0/zC+QxWwEQLNVwCgxXLyb1zD8M0hqsg/3VfPkrSb3IwAoMbA
VsHZRTHNq1Ixyh5Qa+v1uyMx
=p/4S
-----END PGP SIGNATURE-----


-- 
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