Create func2ajax.php

Still not sure how you want to incorporate ajax into the scripts.. but here the start of a working example... ill try to keep it as simple as possible :)
Merge pull request #7 from creative84/patch-6

Create func2ajax.php