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

2007-06-13 Thread clive
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? do this: // in a config file, or header file $sitename = "http:/localhost/apache2/"; eader file // whereever it is needed header("Locat

Re: [PHP] Redirecting to a parent page

2007-06-13 Thread Richard Lynch
On Wed, June 13, 2007 11:12 pm, Yamil Ortega wrote: > Lets say that I have the next structure on my web directory > > /file1.php > > /procces/file2.php > > /file3.php > > So, when I see the file1.php on the browser I see the page in this > route > > http://localhost/apache2/file1.php > > I have a

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

2007-06-13 Thread Darren Whitlen
. You will only then have to change it in one place. Darren Thanks in advance Yamil -Mensaje original- De: clive [mailto:[EMAIL PROTECTED] 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 Ya

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

2007-06-13 Thread Yamil Ortega
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

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

2007-06-13 Thread clive
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. -- PHP General Mailing List (http://www.php.net/) To uns