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...

Download Links to Download NAMO App

Official App of Prime Minister of India, Narendra ...


Find out perfect engineering course for you at BMCET, MSCET, BAIT

Confused? Which engineering course to choose? Car...


Matthew McConaughey Inspiring Speech At Oscars 2014

Inspiring speech of Matthew McConaughey after rece...


#JeeLeZara Happy Womens Day Reliance Fresh

Renuka Shahane has dedicated her entire life to ev...


Facebook Passed Thank you Message to Everyone

Facebook Said Thank You to its Advertisers. There ...