fixing PHP issues with header