(zlib)
To get the best from this Mod you should be running PHP4 and have the
zlib module installed and loaded. It is quite common for zlib to be installed by default. If you are unsure whether it is please check with your hosting provider or review the output of phpinfo();.
This Mod does not require GD, Imagemagick, NetPBM or any other module or utility. If you do not have zlib available the Mod will fall-back to a simpler output method. However this will still deter the majority of would be trouble makers.
you can find the source to prevent automated registrations without gd in
phpbb2.0.5 contrib\visual_confirmation.zip
u can update your forum too, the new version can prevent the invalid_session error message.