Re: detect 404 pages

From: Date: Mon, 26 Oct 2015 04:07:56 +0000
Subject: Re: detect 404 pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-325227@lists.php.net to get a copy of this message
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 (http://stackoverflow.com/a/21287969) Does this help? Patty On Sun, Oct 25, 2015 at 7:58 PM, Negin Nickparsa <nickparsa@gmail.com> wrote: > Curl is slow detecting 404 pages. > > is there any other solution rather than using Curl and http code to detect > 404 pages? >

« previous php.general (#325227) next »