Re: [PHP] detect 404 pages
- Date: Sun, 25 Oct 2015 21:07:56 -0700
- From: Patty Aguayo <patty@xxxxxxxxxxxxxxxx>
- Subject: Re: [PHP] detect 404 pages
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?