🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #252

Re: Leer sitio web desde php

#252
From: Daniel V
Date: Mon, 05 Oct 2009 20:29
29 lines
1927 bytes
In chile.comp.unix Marious <sinspam@tampocoexiste.ivn.cl> wrote:
> 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

Estimados,

Alguna vez tuve un problema similar, y resulto ser que el servidor donde
estaba alojado no permitia hacer estas llamadas remotas.
(no recuerdo si probe con fopen o libCurl, pero nada funcionaba...)
Instale el script en un servidor con menos restricciones y todo funciono
ok.., asi que yo probaria lo mismo en otro lado para descartar que el
servidor te este bloqueando la llamada.

Saludos,
Daniel
Technical Details
Message-ID: <hadkuc$2l9$1@helcaraxe.dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
References: <ha81sl$j02$1@news.nivel5.cl> <ha8pvk$l25$1@news.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
From: Daniel V<dvalenzu@dccX.Xuchilex.cl>
Newsgroups: chile.comp.programacion,chile.comp.unix,chile.comp.www
Subject: Re: Leer sitio web desde php
Date: Mon, 5 Oct 2009 20:29:00 +0000 (UTC)
Organization: DCC - Universidad de Chile
Lines: 30
Sender: Daniel Alejandro Valenzuela Serra <dvalenzu@anakena.dcc.uchile.cl>
Message-ID: <hadkuc$2l9$1@helcaraxe.dcc.uchile.cl>
References: <ha81sl$j02$1@news.nivel5.cl> <ha8pvk$l25$1@news.nivel5.cl>
NNTP-Posting-Host: anakena.dcc.uchile.cl
X-Trace: helcaraxe.dcc.uchile.cl 1254774540 2729 192.80.24.6 (5 Oct 2009 20:29:00 GMT)
X-Complaints-To: newsmaster@dcc.uchile.cl
NNTP-Posting-Date: Mon, 5 Oct 2009 20:29:00 +0000 (UTC)
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/2.6.29-gentoo-r5 (i686))