How do I check if a URL exists (not 404) in PHP?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
so anytime you contact a website and get something else than 200 ok it will work
the simple way is curl (and FASTER too)
I use this function: