Jump to content

[SOLVED] header() not working correctly


Allan-

Recommended Posts

If i have

header('Location: http://localhost/');

on line 1-222 in my index.php file then it works correctly as it should be but if the same line of code is in the line 223 or after that, then header() function just dont do anything.

 

I run my codes on my localhost server (Wampserver 2).

Link to comment
https://forums.phpfreaks.com/topic/134772-solved-header-not-working-correctly/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.