Beruflich Dokumente
Kultur Dokumente
PHP is the abbreviation of Preprocessor Hypertext, it is a server side scripting language. PHP is the most popular scripting language along the web. PHP was originally created by Rasmus Lerdorf in !!". #he PHP code is rendered by a web server with a PHP processor module, which generates the resulting web page$ PHP commands can be implanted straight into an H#%L source document rather than visiting an external file to process data. &t is a potent tool for ma'ing dynamic and interactive (eb pages )uic'ly. PHP can be positively found on almost * million domains. PHP is a very versatile programming language that can achieve the same ob+ective in multiple ways.
PHP has core functions , classes to obtain your life more comfortable. &t is necessary to chec' the PHP manual before you get started with creating your own functions.
-irstly you need to create a configuration for database connection settings, including in your PHP scripts. .ecause then you want to change the details you only necessitate to interchange them in one file rather than multiple files. /sing a configuration file is a good way, which ma'es your code more modular and easy to maintain.
&ts very important to saniti0ing your database input. #he first , main thing is that you should do is learn about popular ways your app can be compromised and get a good understanding of what 12L in+ections actually. PHP has a core function which will saniti0e your regular string inputs$ mys)l3real3escape3string.
(hen developing an application, it is necesasry for the PHP developer to leave error3reporting and display3errors turned on which can facilitate him to see run4time errors and identify them.
Proper documentation of the code with the help of comments is good, but it5s not necessary to add comments to every line of code. 1o avoid over comments strategies.
6eep and re4use any particularly good pieces of code you thin' you might use again.
/sing a PHP framewor's can be very beneficial to you. (hen you are operating on a pro+ect with tight deadlines, utili0ing a PHP framewor' is more benefit that can speed up the coding.
.y connected with other PHP developers, you will learn more , also 'now some better ways of doing the things that you are presently performing.