PHP is a good language if 1) you need to learn it because you bought a vbulletin license or need to write a plugin for the PHP-based blog software you use, 2) Your program is 3 pages of code and has no chance to grow, 3) You have no access to your server to install anything better, 4) You don't know anything else and don't want to learn, 5) well, there is no 5, those are about the only reasons I can come up with. PHP is better than writing a hundred pages of HTML by hand, but only just barely. Sorry for the rant, but every time I'm forced to look at PHP code I want to hold my breath until I die.
Ruby on the other hand...
Code:
#!/usr/bin/ruby
require 'date'
puts '<select>'
(Date.parse('January 1st, 2007') .. Date.parse('December 31st, 2007')).each do |d|
puts '<option>' + d.strftime('%B %d') + '</option>'
end
puts '</select>'
(I wouldn't touch ASP with a 10-foot pole if you paid me.)