outputs to php file