Header Location Not working

header location not working in php

Space between header("Location")

If header not working in some server. On that time just check syntax carefully that you write.

Correct syntax for header is:

header(“Location:index.php”); (Correct)

header(“Location : index.php”); (Wrong)

Note: No space between Location and “:” and your page.

Put ob_start();

Second option you can check by putting ob_start(); in beginning of your code...

How To Make Own Life Happy

To bring the happiness in your life, always rememb...

Watch Compilation of Brilliant Rajasthan Jaane Kya Dikh Jaaye Ad Films on Rajasthan Day

Here is Compilation of Brilliant Rajasthan Jaane K...

3 Important Shloks of Lord Narayana

Here are three important shloks of Lord Naryana fo...

Special Offer Label - Opencart

If you are using opencart framework, you may need ...

Honda’s Compact SUV W-RV is launched in India – Prices & Features

Honda Cars India Limited has launched new compact ...