I'd like to create my own online text turn-based strategy game (similar to http://games.swirve.com/earth/). This will be one of my summer projects.

The problem is that I've never programmed anything in my life.

1) Do you think PHP would be the best language? I've read the pro/cons on several sites, and PHP looks the best, but Earth2025 (one of the most popular) is programmed in CGI.
2) Can anyone suggest a beginner's book that will teach me everything I need to know to program the game?
3) Do you think there is a chance that I could finish the game by the end of the summer?

Thanks for the help