Redirecting to a parent page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux