[phplib-dev] the downloadable prepend.php3
by giancarlo pinerolo other posts by this author
Jul 20 2001 10:32PM messages near this date
[phplib-dev] the downloadable prepend.php3
|
[phplib-dev] Sessions over Internet Explorer
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@[...].net
------------------------------------
... you can seldom find traces of the evident ...
--
Abbestellen mit Mail an: phplib-dev-unsubscribe@[...].de
Kommandoliste mit Mail an: phplib-dev-help@lists.netuse.de
|