<?php if(function_exists('readfile')) { echo "readfile function is enabled"; } else { echo "readfile is not enabled"; } ?>