[phplib-dev] the downloadable prepend.php3 From: giancarlo pinerolo (ping <email protected>)
Date: 07/20/01

By a pure matter of chance, the prepend.php3 that people can download
has a terrible programming mistake
"if not A or not B" instead of "if not A and not B"
such a test will always fail

> if (!isset($_PHPLIB) or !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"] = "";
> }

this is a programming mistake, that normally stands as an example to
never be done, but luckily it will save people from downloading the bug

But maybe it was intentional...

Giancarlo

-- 
------------------------------------
Giancarlo Pinerolo de Septis
Web Development & System Integration
email: giancarlo <email protected>
------------------------------------
... you can seldom find traces of the evident ...

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