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

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

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


Microsoft Lumia 640 specifications, features leaked

NEW DELHI: The Mobile World Congress (MWC) is just...


BJP won in UP - Comic Images On Rahul Gandhi And Akhilesh Yadav Go Viral

MODI wave sinks Akhilesh, Rahul & Maya in UP. BJP ...


Lets Stop Cancelling Process of Hotel Rooms, Start Transferring To Needy one

You booked hotel rooms but have to cancel in last ...


Daaru Program Na Friends Ni Vaato [Gujarati]

In each friends group, there is always minimum one...