I have the same problem as fguerrache.
I have downloaded a brand new, clean OScommerce 2.2rc2a... and the code fguerrache describes (which u have said is non-standard) is the standard code that comes with the oscommerce download....
Do you have a suggestion as to how to get round this? The standard code would appear to have changed?
Thanks