header() not working?

From: Date: Thu, 08 Dec 2016 16:30:53 +0000
Subject: header() not working?
Groups: php.general 
Request: Send a blank email to php-general+get-325878@lists.php.net to get a copy of this message
Hi gang: For several years I have had an example of a redirect working on my college’s Server for my students to review. The code is simple: header ("Location:$where"); exit(0); The $where is URL’s such as “amazon.com” coming from a POST: $where = isset($_POST['where']) ? $_POST['where'] : null; Like I said, this has worked for years and now it doesn’t. I suspect something has changed in the school’s Server, but I don’t know what that may be. Any ideas as to why and how to fix it? Cheers, tedd _______________ tedd sperling tedd@sperling.com

« previous php.general (#325878) next »