Sort all functions for php into one file
Organise getpost functions