"; checkRemoteFile($correct_url); $incorrect_url = "http://welink.site/test/anh100.jpg"; echo "
Link kiem tra(sai): http://welink.site/test/anh100.jpg
"; checkRemoteFile($incorrect_url); echo "
--------------------------------
"; echo "
Link kiem tra: http://welink.site/test/link.txt
"; //check theo link random trong file txt $url_source= "https://welink.site/test/link.txt"; // $random_link = "http://welink.site/test/anh4.jpg"; $random_link = random($url_source); echo "
link được random: ".$random_link."
"; checkRemoteFile($random_link); ?>