Sorry for that messy post, I forgot HTML is on

IM posting that again:
I wrote a simple script (source:
http://www.hypergals.com/gal_update.txt ). When I run it from my browser, everything works fine and without errors, but when I order cronjobs to run it every midnight, these errors occur when executed:
/home/phrona/public_html/gal_update.php: line 1: ?: No such file or directory
/home/phrona/public_html/gal_update.php: line 2: syntax error near unexpected token `'gal_today.html','gal_yesterday.html''
/home/phrona/public_html/gal_update.php: line 2: ` copy('gal_today.html','gal_yesterday.html'); ?>'
My hosting support done its best, but nothing helped. Absolute paths in the source didn't worked. Thanks for answer