🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #247

Re: Leer sitio web desde php

#247
From: Marious
Date: Sun, 04 Oct 2009 00:24
16 lines
1613 bytes
On 10/03/2009 01:33 PM, +mArkO+ wrote:
> 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?
>
> gracias
>
>
>

Utiliza libCurl
http://cl.php.net/curl
Technical Details
Message-ID: <ha8pvk$l25$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>

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,UTF8
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: Marious <sinspam@tampocoexiste.ivn.cl>
Newsgroups: chile.comp.programacion,chile.comp.unix,chile.comp.www
Subject: Re: Leer sitio web desde php
Date: Sat, 03 Oct 2009 20:24:13 -0400
Organization: Varios
Lines: 16
Message-ID: <ha8pvk$l25$1@news.nivel5.cl>
References: <ha81sl$j02$1@news.nivel5.cl>
NNTP-Posting-Host: pc-32-10-104-200.cm.vtr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.nivel5.cl 1254615860 21573 200.104.10.32 (4 Oct 2009 00:24:20 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Sun, 4 Oct 2009 00:24:20 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11
In-Reply-To: <ha81sl$j02$1@news.nivel5.cl>
X-Original-Bytes: 1455