Enable cross-origin resource sharing with php