What is PHP?
PHP (officially "PHP: Hypertext Preprocessor") is a server-side HTML-embedded scripting language.Simple answer, but what does that mean? An example:
<html> <head> <title>Example</title> </head> <body> <?php echo "Hi, I'm a PHP script!"; ?> </body> </html>
What distinguishes PHP from something like client-side Javascript is that the code is executed on the server. If you were to have a script similar to the above on your server, the client would receive the results of running that script, with no way of determining what the underlying code may be. You can even configure your web server to process all your HTML files with PHP, and then there's really no way that users can tell what you have up your sleeve.
0 Response to "What is PHP?"
Post a Comment