Php coding , functions , constants etc