Hashing and tidy output files

http://localhost/group/items.php?action=register&user=Alex&birthday=1993-03-17&hashedpassword=lol

Will give you an output text file with

Alex
cf01f9aadab346b48d300ebef6e82f0d0a8ac360
1993-03-17
Sat, 01 Jun 13
02:54:07 +0200
0