Hello.
I am not sure what you mean with 'put the code'
If you want to use that code in your php pages,
you just use any text editor (like notepad) and copy and paste the code
from that webpage,
into your editor in a new empty window.
Then you 'Save As' in file menu. For example: save as 'mypage.php'
If I got your question wrong, please forgive me.
🙂