php - Not Redirecting header() . Not echoed anything

908

Solution:

There could be some warning which is not produced on your localhost server, but gets printed on Godaddy's server thus blocking theheader() function. You should check server's log files to see if there is any error logged.

If you're testing this in Chrome, you should press F12 to activate the debug console and then click Network tab, to see if your redirection is received by your browser.

People are also looking for solutions to the problem: php - laravel execute code after return

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.