Redirecting to a parent page
| From: | Yamil Ortega | Date: | Thu, 14 Jun 2007 04:12:19 +0000 |
| Subject: | Redirecting to a parent page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-256835@lists.php.net to get a copy of this message | ||
Hi me again :-)
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 button that sends information to the /process/file2.php. When the
process is finished, I have to come back to the parent directory page.
Im using this instruction
header( refresh:'3'; url=./file3.php);
But I got the error that in http://localhost/file3.php does
not exists any
page
If I use this
header( refresh:'3'; url=file3.php);
I got the error that in http://localchost/procces/file3.php does not exists
So, how can I redirect the file2.php to the file3.php in the parent
directory?
Thanks again folks!!
Yamil