SIR forms converted to php