hi there,
-I am facing a problem regarding redirection. The situation is.
2 pages.
Condition the page redirect to a page .. It is working fine.. the page where the page is redirected is redirected to another page. It then checks a condtion and if the condition is true it will redirect to another page. So 2 deep redirection using
header ("Location:filepath.php");
Kindly advice. yousaf FAYYAZ
not quite sure what you mean, but think you should change it to
header ("Location: filepath.php");
ie put a space after the ':' - some browsers are very picky about this
adam
ps it should also be a full url, but you can get away without
Can you not check both conditions on the first page using if statements or a switch and header accordingly?
If not, how are you passing the condition data...a session, cookie, url???
Please tell us more of what you want to accomplish.