FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
PHP Basics Explained
1.
2.
3. PHP is an HTML-embedded Web scripting language.
4. PHP is an free, open-source server-side scripting language.
5.
6. This is the most traditional and main target field for PHP.
7. To know more about php defintion visit www.phpfordonkeys.com/a719308-php-definition-...
8. How PHP Works: When a user navigates in her browser to a page that ends with a .php extension, the request is sent to a web server, which directs the request to the PHP interpreter.
9.
10. HTML OR SCRIPT TAG: <script language="php"> PHP CODE GOES IN HERE </script> ASP-style tags: <% PHP CODE GOES HERE %>
11. Comments: PHP has two forms of comments: * Single-line comments begin with a double slash (//). * Multi-line comments begin with "/*" and end with "*/". Syntax // This is a single-line comment /* This is a multi-line comment.*/
12. Variables: PHP variables begin with a dollar sign ($) as shown below. Syntax: $var_name = "Value"; Each php statement must ends with semicolon.
13. PHP Functions: There are literally hundreds of built-in PHP functions. A function might take zero arguments or several arguments (e.g, mail(), which takes three required and two optional arguments). The syntax for calling a function is straightforward: function_name(arguments);
17. It allows the user to define some of the settings for the PHP interprter .
18.
19. Whitespace and Lines beginning with a semicolon are silently ignored. Directives : directive = value Directive names are* case sensitive * - foo=bar is different from FOO=bar.
36. PHP will NOT give the performance of "C" or "C++" language. Because it is scripting language and is interpreted it will be a bit slower than the optimized "C++" programs.
37.
38. PHP applications are very stable and do not depend on the browser technologies unlike Javascript applications which depend on browsers.
39. PHP will give you the freedom to select any server platform.
40.
41. PHP has C++, PERL, Javascript like syntax features and has programs like 'ptags/ctags' to navigate the source code
42. PHP runs on all UNIX'es, linux, Windows 95/NT/2000 and is more powerful than ASP, JSP and others.
43. PHP has a very large user base and developer base.