🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2133

Re: Redireccionar pagina en PHP

#2133
From: Hector Vergara R.
Date: Mon, 27 Mar 2006 00:02
26 lines
1655 bytes
solucion 1:
    header("Location: http://lapaginaquequieres.com/");
solucion 2:
    header("Refresh: 0; URL=http://lapaginaquequieres.com/);
solucion 3:
    print "<script type='text/javascript'>document.location.href = 
'http://lapaginaquequieres.com'; </script>"

saludos!


"Javier M." <jm@jm.cl> escribi� en el mensaje 
news:e06uoa$k1k$1@news.nivel5.cl...
> Hola, cual es la c�digo que se debe usar para redireccionar una p�gina en 
> php.
>
> Por ejemplo, un formulario de contacto, cuando se llena sale una p�gina en 
> php que dice:
> "Su mensaje ha sido recibido".
>
> Como se hace para redireccionar esa p�gina y volver a la p�gina principal 
> de mi web???
>
> Grax.
>
> 
Technical Details
Message-ID: <e07a2n$njq$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail
References: <e06uoa$k1k$1@news.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,1f5abed74e802ca5
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail
From: "Hector Vergara R." <hvergara@nospam.gmail.com>
Newsgroups: chile.comp.programacion
Subject: Re: Redireccionar pagina en PHP
Date: Sun, 26 Mar 2006 20:02:39 -0400
Organization: Varios
Lines: 28
Message-ID: <e07a2n$njq$1@news.nivel5.cl>
References: <e06uoa$k1k$1@news.nivel5.cl>
NNTP-Posting-Host: pc-75-16-83-200.cm.vtr.net
X-Trace: news.nivel5.cl 1143417751 24186 200.83.16.75 (27 Mar 2006 00:02:31 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Mon, 27 Mar 2006 00:02:31 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180