I’m glad to announce that PHP4IDS 0.1 is released. PHP4IDS is a port of PHPIDS for use with PHP4. The current version is based on PHPIDS 0.2.3 and includes the filter-definition-file from this release.
There are some issues users should be aware of:
- due to the origin of this port (large project) the naming convention had to be changed so the different classes will have different names in this version
- IDS_Report => IDSReport
- IDS_Converter => IDSConverter
- IDS_Event => IDSEvent
- IDS_Monitor => IDSMonitor
- IDS_Filter_Storage_Abstract => IDSStorageProvider as baseclass and IDSSimpleStorageProvider as a class providing the same functionality as the IDS_Filter_Storage_Abstract (specify an array of filters in the constructor)
- IDS_Filter_Storage => IDSXmlStorageProvider providing only xml-storage capabilities
- IDS_Filter_Abstract => IDSFilter
- IDS_Filter_Regexp => IDSRegexpFilter
- also due to namÃng convention all method names are pascal-case (and not case-case)
- the logging facility has been dropped
- the class inheritance structure has been slightly modified in case of the IDSStorageProvider
- JSON support has been dropped because PHP4 lacks the JSON extension (and I had no use for a JSON-storage)
- this version requires PHP 4 >= 4.2.0 because the IDSXmlStorageProvider uses tThe DOM XML extension which is not bundeld with PHP5. Therefore PHP4IDS in its current version (specifically the IDSXmlStorageProvider) can not be considered PHP5 compatible!
I hope that users will nevertheless find PHP4IDS  useful in PHP4-only environments.
With upcoming versions we’ll refactor PHP4IDS so that it will incorporate the logging facility and perhabs change back the naming convention to be compatible with current releases of PHPIDS.
The download of version 0.1 is available in the downloads section or via SVN http://php4ids.googlecode.com/svn/trunk/