Extract php and submit contact form via ajax