yahooadam Posted October 6, 2006 Share Posted October 6, 2006 Hey guys, i have a small problemwith a header("location: page.php") you have to send it before any other data (from what Ive read)now i have a CSS style sheet <div style="position: absolute; left: 1% right: 20%; border-right: medium solid #000000"><?php require $menu; ?></div><div style="position: absolute; left: 20%"><?php require $page; ?></div> Now as long as i use require $page the header redirect workshowever, if i paste the code from $page into that <?php ?> area, the header no longer worksim assuming because the header is being received after dataand require wont support index.php?setting=varso is there a way to get a php header to workwould you suggest something else if its not possible, like javascriptor should i just leave it how it is with 8 different files instead of trying to combine themThx for your help Link to comment Share on other sites More sharing options...
scott100 Posted October 6, 2006 Share Posted October 6, 2006 Now as long as i use require $page the header redirect worksAre you just trying to redirect a page Meta tag is an easy one: http://www.w3schools.com/tags/tryit.asp?fi...ryhtml_redirect Link to comment Share on other sites More sharing options...
yahooadam Posted October 7, 2006 Author Share Posted October 7, 2006 Are you just trying to redirect a page Meta tag is an easy one: http://www.w3schools.com/tags/tryit.asp?fi...ryhtml_redirect nofor example, if somone trys to login, i want them to be redirected to another pagesay, you login and then your taken the main forum page or somthing like that Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now