Linked 'mainform' to php file