base64_decode() output to header location

PHP
base64_decode('base64-string-goes-here');
Source

Also in PHP: