Hi Glamorous-Glare
First the bad news: there isn't any web-application language which comes with 100% built-in security. This is the internet we're talking about here. If you want total built-in security, make an offline application and distribute it on a copy-protected CD-ROM and make sure it has no internet interaction whatsoever.
Now the good news: PHP is in fact a lot better at catering for security concerns than some other web-application languages. Furthermore, PHP-based websites are, as a rule, hosted on Linux, which is considerably more secure than any Windows environment.
Summary: get into web-application programming and pay attention to security concerns from day 1 because they apply to Perl, PHP, ASP.NET, Java, JSP, C#, Python, VB, JavaScript and all variants thereof. Secondly, make this your motto: if it can go wrong, then it already has. Thirdly, however, don't get too hysterical. Unless you are working for a financial, political or military organisation, you can assume that most evil people are not particulary interested in your website.
Best o luck
Norm