🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #250

Re: Leer sitio web desde php

#250
From: +mArkO+
Date: Sun, 04 Oct 2009 20:07
34 lines
2261 bytes
est� buen�sima. pero ese sitio que necesito no lo ley�.

no cach� que onda

www.sportQpress.Qcom/Qstats/es/

quitar las "Q" ...

si alguien tiene alguna luz al por qu� no lee.


"Jos� Miguel Santib��ez" <jms@nivel5.cl> escribi� en el mensaje 
news:Xns9C99A95A028E1jmsnews@200.54.144.211...
> En el cap�tulo anterior (news:ha81sl$j02$1@news.nivel5.cl), "+mArkO+"
> <kitim@porta.com> dijo:
>
>> Estimados, necesito leer un contenido de un sitio web con un script en
>> php que hice. intent� con fopen y con file, pero con un sitio en
>> especifico no me funciona y se llega al maximo tiempo de ejecucion sin
>> obtener resultados. (el sitio web desde el navegador puedo verlo sin
>> problemas)
>>
>> �a que se deber� esto?
>> �alguna sugerencia para lograrlo?
>>
>
> Usa snoopy: sourceforge.net/projects/snoopy/
> eso te permite emular mucho mejor un browser...
> (por el tema de los headers, user-agents y afines)
>
> -- 
>                           Jose M. Santiba�ez A.
>                             <jms@nivel5.cl>
>                           <http://caos.cl/jms> 
Technical Details
Message-ID: <haava0$m5$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!xen.linfati.cl!news.nivel5.cl!not-for-mail
References: <ha81sl$j02$1@news.nivel5.cl> <Xns9C99A95A028E1jmsnews@200.54.144.211>

Show Full Headers
Complete Article Headers
X-Google-Thread: 5075a5d0e4,8a5a386a78263e0b
X-Google-Attributes: gid5075a5d0e4,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!xen.linfati.cl!news.nivel5.cl!not-for-mail
From: "+mArkO+" <kitim@porta.com>
Newsgroups: chile.comp.programacion,chile.comp.unix,chile.comp.www
Subject: Re: Leer sitio web desde php
Date: Sun, 4 Oct 2009 16:07:27 -0400
Organization: Varios
Lines: 37
Message-ID: <haava0$m5$1@news.nivel5.cl>
References: <ha81sl$j02$1@news.nivel5.cl> <Xns9C99A95A028E1jmsnews@200.54.144.211>
NNTP-Posting-Host: pc-173-109-164-190.cm.vtr.net
X-Trace: news.nivel5.cl 1254686848 709 190.164.109.173 (4 Oct 2009 20:07:28 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Sun, 4 Oct 2009 20:07:28 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
X-EsetScannerBuild: 5765
X-Original-Bytes: 2078