PHP - How to check URLS for 404/Timeout?

f dtxsak

New Member
Here is my structure:MYSQL: Table: toys ---> Column: id, URL. How do I get my PHP script to check all of those URLs to see if they are alive or have page 404's? Try not to echo or diplay the results on page. I will need to to record in MYSQL with a extra column "checks".Results will be in this format:http://asdasd.adas --- up --- 404It will be in PHP/Curl if possible. I have been trying for ages. I gave up so decided to ask here.URL's are all located in my database.Thanks if anyone could help me out.
 
Back
Top