jluniya — 2011-10-19T08:25:06-04:00 — #1
I want to redirect to a page in another directory, How can I do it in PHP?
Exaple, I want to jump from htdocs/site/test1/index.php to htdocs/site/test2/index.php.
starlion — 2011-10-19T08:41:15-04:00 — #2
you're trying to make the browser reload into the new directory (via header)? or including the content of the new directory in the current page (via include)? Or are you trying to do it with .htaccess in apache (which would be a different forum)?
jluniya — 2011-10-19T23:58:08-04:00 — #3
Referring to you question I think I should use header syntax. I want browser to reload into the new directory.
jluniya — 2011-10-20T01:26:10-04:00 — #4
Below worked for me