SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the function file_get_contents();
if(file_get_contents('https://example.com/example.txt')) { //File exists }