file_exists not working php file_exits doesn't support remote URLs. August 28, 2014 file_exists not working php file_exits doesn't support remote URLs. php file functions: if php file_exits not working. we can try this one if (fopen($fileexitesnotworking, "r")){ echo "file exits" }else { echo "not"; } Read more