Web lists-archives.com

Re: [PHP] detect 404 pages

Hi Negin,

I haven't tried what you're after, but saw this on SO:

curl_setopt($handle, CURLOPT_NOBODY, 1); // and *only* get the header


Does this help?


On Sun, Oct 25, 2015 at 7:58 PM, Negin Nickparsa <nickparsa@xxxxxxxxx>

> Curl is slow detecting 404 pages.
> is there any other solution rather than using Curl and http code to detect
> 404 pages?