> So what language is actually better suited for the job that PHP is used for all the time?
> People bash PHP all the time, and I'm really not a fan of it, but when I get right down to it... it's hard to point to any of the alternatives and say 'this is better'.
No, it's not hard at all. Python, Ruby and Perl are all vastly superior to PHP. The sad truth is that PHP is a steaming pile of crap that should have died a gory death a long time ago.