How to remove a header ('Location:' http://www.example.com/ ', true, 301);

0

create a header('Location: 'http://www.example.com/', true, 301); so that when a user makes a session he can not enter the login form but now when I want to change the header address, he keeps sending me to link , how can I delete the header 301

    
asked by Arellano Cornejo Daniel 27.02.2018 в 03:52
source

1 answer

0

Basically header('Location: http://url'); can not be canceled, it is one of the special cases indicated by the PHP documentation

link

    
answered by 27.02.2018 в 06:19