Fixes bug with forms not submitting to .php pages