Re: Re: [BULK] [PHP] Redirecting to a parent page

From: Date: Wed, 13 Jun 2007 13:49:13 +0000
Subject: Re: Re: [BULK] [PHP] Redirecting to a parent page
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-256851@lists.php.net to get a copy of this message
Yamil Ortega wrote:
Ok, but what happens if I change server and there is no more apache2 directory? Do I have to change all the headers in my 37 web pages?
The same code in 37 pages??? Place the code in 1 page, and use require("my_code_page.php"); where you need it in your scripts. You will only then have to change it in one place. Darren
Thanks in advance Yamil -----Mensaje original----- De: clive [mailto:clive@rttc.co.za] Enviado el: Miércoles, 13 de Junio de 2007 05:37 a.m. Para: PHP General List Asunto: [PHP] Re: [BULK] [PHP] Redirecting to a parent page Yamil Ortega wrote:
Lets say that I have the next structure on my web directory /file1.php /procces/file2.php /file3.php
http://localhost/apache2/file1.php try this: header( refresh:'3'; url=./apache2/file3.php); Regards, Clive.


« previous php.general (#256851) next »