Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkErrorForRequest($url)
- {
- $response = file_get_contents($url);
- // If the file contains "0", then it will trigger a false negative !
- if ($response === false) {
- echo"Error with this url --> $url";
- echo"response --> $response";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement