I am new to PHP. Can someone please tell me how to undo a PHP redirect.
I used <?php header("location:[url]");?> to redirect a website URL to another. Now I want to undo it.
How the heck do I do it?
Desperately need a fix. 😕
NaMart,
Perhaps I don't understand, if you don't want it to redirect anymore, remove the entire header() line, or comment it out..
<?php //header("location:[url]"); ?>
Thanks I think:o