PHPIDS implementation