Create global_function.php

this file contains php functions