After going through the php.net website, he got an example for a heading that says this will give me an error. I copied it and ran it on WAMP, but it did not show me any error, but redirected to the site.
<html> <?php header('Location: http://www.example.com/'); ?>
I just wanted to know if this is the correct behavior on my WAMP or its error, or if I have any specific settings active in the php.ini file that does this job !!!. Let me know if someone needs my php.ini to copy here.
Thanks Tanmay
php header
jtanmay
source share