looks exactly like what I showed you...
to make a html page act like a PHP you need to make sure that your server is PHP enabled, then add the following line to your httpd.conf file:
AddType application/x-httpd-php .html
if you don't have access to that file, then just add it to a .htaccess file
the problem is, you cannot add this to an exsisting html page, this must be on a page with no other textual content, or you will get a error saying headers already sent. Just copy and paste all that code into a file and name it with a .php extension, eg: download.php