BillyMako Posted April 3, 2008 Share Posted April 3, 2008 Hey, i have a script which adds comments to logs and photos. It works perfectly on everything except IE 7.0. When i hit the delete comment button on the script it goes to a delete script then it redirects you back to the original page. With IE 7.0 it doesn't take me to the page unless i use a different header location address. What is the best way to pass a variable and use it to redirect me??? //this works with all but IE 7.0 header( "Location: $url&id=$id" ) ; //this only work with IE 7.0 and everything else but i need to hit delete twice with IE 7.0 //header( "Location: $url&$id" ) ; Quote Link to comment https://forums.phpfreaks.com/topic/99362-redirect-header-problem-with-ie-70/ Share on other sites More sharing options...
MadTechie Posted April 3, 2008 Share Posted April 3, 2008 whats $id set to ? what appears in the url? need more info!!! Quote Link to comment https://forums.phpfreaks.com/topic/99362-redirect-header-problem-with-ie-70/#findComment-508422 Share on other sites More sharing options...
BillyMako Posted April 3, 2008 Author Share Posted April 3, 2008 Now im just using - //redirect to fishing logs page header( "Location: $url#comments" ) ; But with internet explorer 7.0 for some reason i need to leave the page reenter it and then click delete for it to work Quote Link to comment https://forums.phpfreaks.com/topic/99362-redirect-header-problem-with-ie-70/#findComment-508447 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.