Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #21559

Re: curl amazon.de da errore invece di http_status 200

From Sandro kensan <kensan@kensan.it>
Newsgroups it.comp.www.php
Subject Re: curl amazon.de da errore invece di http_status 200
Date 2017-03-29 21:59 +0200
Message-ID <ek2i0jFe40jU2@mid.individual.net> (permalink)
References (1 earlier) <c3d3dcdksshrqr7o71vnoehg0u35fda9sa@L.Serni> <ejf854Fjgu7U1@mid.individual.net> <eis5dcljg2r5701ccvvemuqt9c3sb9omct@L.Serni> <ek1qo9F9vneU1@mid.individual.net> <afb0721d-b78f-47e1-a218-4138484e5928@googlegroups.com>

Show all headers | View raw


On 29/03/2017 18:39, fmigliori wrote:
> Usa file_get_contents();

Ho provato con il solo link di Amazon.de e mi da:


array(25) {
[0]=> string(29) "HTTP/1.1 301 MovedPermanently"
[1]=> string(14) "Server: Server"
[2]=> string(35) "Date: Wed, 29 Mar 2017 18:22:11 GMT"
[3]=> string(44) "Content-Type: text/html; charset=ISO-8859-15"
[4]=> string(26) "Transfer-Encoding: chunked"
[5]=> string(22) "Connection: keep-alive"
[6]=> string(71) "Strict-Transport-Security: max-age=47474747;
includeSubDomains; preload"
[7]=> string(16) "pragma: no-cache"
[8]=> string(32) "x-amz-id-1: 5CC5Z4CJWN20VQ163X15"
[9]=> string(183) "p3p:
policyref="https://www.amazon.de/w3c/p3p.xml",CP="CAO DSP LAW CUR ADM
IVAo IVDo CONo OTPo OUR DELi PUBi OTRi BUS PHY ONL UNI PUR FIN COM NAV
INT DEM CNT STA HEA PRE LOC GOV OTC ""
[10]=> string(37) "cache-control: no-cache, no-transform"
[11]=> string(27) "x-frame-options: SAMEORIGIN"
[12]=> string(11) "expires: -1"
[13]=> string(80) "Location:
https://www.amazon.de/Gekaufte-Journalisten-Udo-Ulfkotte/dp/3864451434"
[14]=> string(32) "Vary: Accept-Encoding,User-Agent"
[15]=> string(32) "HTTP/1.1 503 Service Unavailable"
[16]=> string(14) "Server: Server"
[17]=> string(35) "Date: Wed, 29 Mar 2017 18:22:11 GMT"
[18]=> string(23) "Content-Type: text/html"
[19]=> string(20) "Content-Length: 2178"
[20]=> string(22) "Connection: keep-alive"
[21]=> string(50) "Vary: Content-Type,Host,Accept-Encoding,User-Agent"
[22]=> string(44) "Last-Modified: Tue, 01 Dec 2015 19:40:15 GMT"
[23]=> string(25) "ETag: "882-525db53a5e5c0""
[24]=> string(20) "Accept-Ranges: bytes" }

Seguendo il link mi da:
(301->https://www.amazon.de/Gekaufte-Journalisten-Udo-Ulfkotte/dp/3864451434)

array(10) {
[0]=> string(32) "HTTP/1.1 503 Service Unavailable"
[1]=> string(14) "Server: Server"
[2]=> string(35) "Date: Wed, 29 Mar 2017 18:27:24 GMT"
[3]=> string(23) "Content-Type: text/html"
[4]=> string(20) "Content-Length: 2178"
[5]=> string(22) "Connection: keep-alive"
[6]=> string(50) "Vary: Content-Type,Host,Accept-Encoding,User-Agent"
[7]=> string(44) "Last-Modified: Tue, 01 Dec 2015 19:40:15 GMT"
[8]=> string(25) "ETag: "882-525db53a5e5c0""
[9]=> string(20) "Accept-Ranges: bytes" }

Quindi da un 503.
-- 
Sandro kensan www.kensan.it & www.qiqi.it geek site
Saluto gli agenti della NSA - Hello NSA - www.nsa.gov

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-21 23:30 +0100
  Re: curl amazon.de da errore invece di http_status 200 Leonardo Serni <lserni@gmail.com> - 2017-03-22 00:17 +0100
    Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-22 13:14 +0100
      Re: curl amazon.de da errore invece di http_status 200 Leonardo Serni <lserni@gmail.com> - 2017-03-22 22:53 +0100
        Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-23 10:17 +0100
        Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-29 15:22 +0200
          Re: curl amazon.de da errore invece di http_status 200 fmigliori <fmigliori@gmail.com> - 2017-03-29 09:39 -0700
            Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-29 20:17 +0200
            Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-29 21:59 +0200
              Re: curl amazon.de da errore invece di http_status 200 fmigliori <fmigliori@gmail.com> - 2017-03-29 13:18 -0700
              Re: curl amazon.de da errore invece di http_status 200 fmassei@gmail.com - 2017-03-29 14:13 -0700
          Re: curl amazon.de da errore invece di http_status 200 Leonardo Serni <lserni@gmail.com> - 2017-03-29 23:02 +0200
            Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-30 15:04 +0200
              Re: curl amazon.de da errore invece di http_status 200 Leonardo Serni <lserni@gmail.com> - 2017-03-30 20:10 +0200
                Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-30 23:54 +0200
  Re: curl amazon.de da errore invece di http_status 200 fmassei@gmail.com - 2017-03-21 16:31 -0700
    Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-22 13:21 +0100
      Re: curl amazon.de da errore invece di http_status 200 fmassei@gmail.com - 2017-03-22 07:33 -0700
        Re: curl amazon.de da errore invece di http_status 200 Sandro kensan <kensan@kensan.it> - 2017-03-23 10:18 +0100

csiph-web