🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #8922

Re: [ayuda] redireccionar a otra URL PHP

#8922
From: Iván Sánchez Ortega
Date: Wed, 18 Sep 2002 19:00
20 lines
1730 bytes
pablo wrote:

> tengo un script en PHP que busca en una base de datos una url
> (http://www.loquesea.com) y utilizo el header, pero el problema es que
> cuando llega al navegador la direcci�n me la convierte en
> http://miservidor/www.loquesea.com.


Prueba con algo m�s o menos as�:

<HTML><HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://www.dondeyotediga.org">
</HEAD></HTML>

 
----------------------------------
Iv�n S�nchez Ortega -ivansanchez-arroba-wanadoo-punto-e-ese-

Un ordenador no es un televisor ni un microondas, es una herramienta 
compleja.
Technical Details
Message-ID: <amai8u$rrn$2@reader2.wnet>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!not-for-mail
References: <amadf2$jj0$1@news.ya.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,4bf869f1d431b44b
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-09-18 12:02:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!not-for-mail
From: Iván Sánchez Ortega <ivansanchez-arroba-wanadoo-punto-e-ese-@wanadoo.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: [ayuda] redireccionar a otra URL PHP
Date: Wed, 18 Sep 2002 21:00:20 +0200
Organization: acm.asoc.fi.upm.es
Lines: 20
Message-ID: <amai8u$rrn$2@reader2.wnet>
References: <amadf2$jj0$1@news.ya.com>
NNTP-Posting-Host: 62-36-151-48.dialup.uni2.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
X-Trace: reader2.wnet 1032375390 28535 62.36.151.48 (18 Sep 2002 18:56:30 GMT)
X-Complaints-To: usenet@wanadoo.es
NNTP-Posting-Date: Wed, 18 Sep 2002 18:56:30 +0000 (UTC)
User-Agent: KNode/0.6.1