print "Location:$url\n\n"; #which is wrong, see below.