Date: 07/20/01
- Next message: giancarlo pinerolo: "[phplib-dev] the downloadable prepend.php3"
- Previous message: Maxim Derkachev: "Re[2]: [phplib-dev] Sessions over Internet Explorer"
- Next in thread: giancarlo pinerolo: "[phplib-dev] the downloadable prepend.php3"
- Maybe reply: giancarlo pinerolo: "[phplib-dev] the downloadable prepend.php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: giancarlo pinerolo: "[phplib-dev] the downloadable prepend.php3"
- Previous message: Maxim Derkachev: "Re[2]: [phplib-dev] Sessions over Internet Explorer"
- Next in thread: giancarlo pinerolo: "[phplib-dev] the downloadable prepend.php3"
- Maybe reply: giancarlo pinerolo: "[phplib-dev] the downloadable prepend.php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

