PDF Saved on Button Clicked

I developed a website with HTML, Javascript, CSS and PHP. I want to know is it possible to make its EXE file because as i have read here "its HTML EXECUTABLE ". One more question, If i clicked on a button so will download PDF file as it does in its Web version?
Thanks for help.

For PHP, you should look at http://www.exeoutput.com instead of HTML Executable.