It's a shame, but this great contribution is being ruined imo.

I attach this file not to add to the carnage but in the hope that it'll get people back to using Chemos ORIGINAL great script. To my knowledge this was the last version wholely worked on by Chemo.

Update: Mildy doctored seo.class.php otherwise standard.
Works with MySQL5 (Strict mode)
Works with PHP5
Added tep_output_string($_sid)

Included is the validation contribution which is optional not essential.