Re: detect 404 pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
wrote:

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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux