kiowa_jackson Posted March 21, 2007 Share Posted March 21, 2007 I've been playing around with redirect and cookies because I have a signup page I only want my visitor to see once. The problem now is that I can't go check on some of my pages because I get redirected - even though I've removed the script. Even if I try to enter a new redirect I still get sent to the first page I entered... Sorry for this simple question, but I tried deleting/blocking cookies and that has no effect either... Link to comment https://forums.phpfreaks.com/topic/43595-how-do-i-stop-redirecting-myself/ Share on other sites More sharing options...
hitman6003 Posted March 21, 2007 Share Posted March 21, 2007 Try removing the 'header("location: nextpage.php")' lines from your code. With out seeing your code, there is no more help we can provide. Link to comment https://forums.phpfreaks.com/topic/43595-how-do-i-stop-redirecting-myself/#findComment-211728 Share on other sites More sharing options...
kiowa_jackson Posted March 21, 2007 Author Share Posted March 21, 2007 But that's the point, there IS no code...I saved a file as php and added <?php header( 'Location: http://www.yoursite.com/new_page.html' ) ; ?> and it worked. Then I removed the code and it STILL redirects....I don't have a single line of php code on my page right now Link to comment https://forums.phpfreaks.com/topic/43595-how-do-i-stop-redirecting-myself/#findComment-211729 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.