I use PHP to access some website and detect something from there. Sometimes webpages might not display probably, just like we occasionally reach a webpage which says HTTP ERROR 500, 404. We want to click fresh button to request again. Is there some easy way / buildin support allowing to do so automatically instead of writing code handling every type of http error?
Thanks