Re: response.redirect en php?

From: Date: Thu, 23 Oct 2003 11:26:39 +0000
Subject: Re: response.redirect en php?
References: 1 2 3  Groups: php.general.es 
Request: Send a blank email to general-es+get-41821@lists.php.net to get a copy of this message
Hola Bhean. ¿Porqué se supone que la forma mas óptima de redireccionar a una página es el header?. El jue, 23-10-2003 a las 13:13, Bhean escribió: > No deberias usar esa forma de redireccionar desde PHP. > Para redireccionar desde PHP, se debe usar la cabecera Location del > protocolo TCP. > > La forma más óptima de redireccionar desde PHP es: > header("Location: pagina.php"); > > Saludos! > > > ----- Original Message ----- > From: "Pablo C. Vergara Castro." <desarrollo@tqr.biz> > To: "Lista correo PHP" <lista@phpes.com> > Sent: Thursday, October 23, 2003 11:50 AM > Subject: Re: [PHP-ES] response.redirect en php? > > > La forma mas rápida suele ser con Jascript: > > Location.href="<página_que_quieras>"; > > El jue, 23-10-2003 a las 11:40, Pol Maresma escribió: > > perdón pero como puedo redireccionar hacia otra página como hacia en asp > > response redirect("/home") > > > > gracias > > > > __________________________________________________ > > > > PolNetwork.com > > Pol Maresma i Oliveras > > pol@polnetwork.com - webmaster@santpol.org > > Creació, manteniment i allotjament de pàgines Web > > __________________________________________________ > > > > PRIVAT I CONFIDENCIAL - Aquest missatge i els document adjunts que pugui > > contenir són confidencials. Si no sou el destinatari del missatge no teniu > > permís per llegir-lo, copiar-lo ni reenviar-lo. Si heu rebut aquest > missatge > > per error, siusplau comuniqueu-ho al remitent retornant el missatge i > > esborreu les còpies del missatge i els seus documents adjunts. Aquest avís > > no pot ser eliminat. > > > > PRIVATE & CONFIDENTIAL - This email message and attachments contain > > information that is confidential. If you are not the intended recipient, > you > > are not permitted to use, copy or distribute the message and attachments > in > > any manner. If you have received this email in error, please inform the > > sender by return email immediately and delete all copies of the message > and > > its attachments. This notice should not be removed. > > __________________________________________________ > > > > > > --------------------------------------------------------------------- > > Archivo On-line: http://www.phpes.com/ > > via news: news://news.phpes.com/ > > Manual PHP en español: http://www.php.net/manual/es/ > > Para dar de baja la suscripción, mande un mensaje a: > > lista-unsubscribe@phpes.com > > > > > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > >

« previous php.general.es (#41821) next »