[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-dev] [Bug 89] search fails in ossec-wui-0.2
http://www.ossec.net/bugs/show_bug.cgi?id=89
------- Comment #3 from merlijn@xxxxxxxxxxxxxxxxxxxxxxxx 2007-10-11 12:59 -------
some more information, the installed packages on the server:
php5-5.2.4
php5-mysql-5.2.4
php5-mysqli-5.2.4
php5-pcre-5.2.4
php5-session-5.2.4
php5-simplexml-5.2.4
php5-spl-5.2.4
apache-1.3.39
This does clearly not include the posix extension. It must be installed
separately on systems using the ports system (/usr/ports/sysutils/php5-posix/).
The extension is not available at all for windows systems.
You are right about the optional argument in PHP5, which is obligated in PHP4.
However, as stated by one of the comments on the php documentation, an even
better implementation would be:
$USER_searchid = uniqid(md5(rand()), true);
Of course... the chance of getting a md5 collision is hypothetical, but better
safe as sorry.
--
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.