It's easy to learn, has extensive documentation, doesn't require much configuration to install and run. For example, you don't have to define a variable to use it in your script. You can refer to it directly and it's automatically created. If you are new to PHP I suggest you read some of my snippets at ePHP and if you are experiencing problems in your scripting journey feel free to post in my free PHP help thread.
Easy to learn, easy to use, and it's on every server and hosting account. If you want to step up to something more powerful and advanced, look at Python with Django.
It's actually pretty easy to hack PHP code, because a lot of things need to be manually secured. (real_escape_string, strip_tags, etc)
It's not the best ASP . NET will murder it with ease but ASP is for pros so PHP is the usual choice .
Because PHP coding can not be seen after the website renders. We can only see the html in output. So your code will be hidden.
Can't you figure that out for yourself? After all, you are a user! But you come here to ask others how you feel about it?! Can't you think for yourself?
- PHP is free and opened source. - PHP code can be written and debuged with free tools most of the time. - The script can run on Linux servers which are more cost effective than windoes servers. The popularity of PHP, comes from cost effectivity and freeness.
Then PHP is not the problem,but you,the programmer,is the problem here if he doesn't know how to secure his code.
It is NOT the best web language, but it is widely supported by web hosting and the learning curve is short.
Well, the most important reason might be that PHP is an OpenSource scripting language and secondly PHP is easy to learn and use and is PHP coding is less complex.