Advertisement
riood

PHP

Feb 8th, 2019
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.70 KB | None | 0 0
  1. PHP 5 Tutorial
  2. PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
  3.  
  4. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
  5.  
  6. Easy Learning with "Show PHP"
  7. Our "Show PHP" tool makes it easy to learn PHP, it shows both the PHP source code and the HTML output of the code.
  8. Example    :    
  9.  
  10. <!DOCTYPE html>
  11. <html>
  12. <body>
  13.  
  14. <?php
  15. echo "My first PHP script!";       RUN       My first PHP script!
  16. ?>
  17.  
  18. </body>
  19. </html>
  20.  
  21. -----------------------------------------------------
  22.  
  23. Click on the "Run example" button to see how it works.
  24.  
  25. Start learning PHP now!
  26.  
  27. PHP 5 Introduction
  28. PHP scripts are executed on the server.
  29. What You Should Already Know
  30. Before you continue you should have a basic understanding of the following:
  31.  
  32. HTML
  33. CSS
  34. JavaScript
  35. If you want to study these subjects first, find the tutorials on our Home page.
  36.  
  37. What is PHP?
  38. PHP is an acronym for "PHP: Hypertext Preprocessor"
  39. PHP is a widely-used, open source scripting language
  40. PHP scripts are executed on the server
  41. PHP is free to download and use
  42.  
  43. ********
  44. PHP is an amazing and popular language!
  45.  
  46. It is powerful enough to be at the core of the biggest blogging system on the web (WordPress)!
  47. It is deep enough to run the largest social network (Facebook)!
  48. It is also easy enough to be a beginner's first server side language!
  49. **********
  50.  
  51. What is a PHP File?
  52. PHP files can contain text, HTML, CSS, JavaScript, and PHP code
  53. PHP code are executed on the server, and the result is returned to the browser as plain HTML
  54. PHP files have extension ".php"
  55. What Can PHP Do?
  56. PHP can generate dynamic page content
  57. PHP can create, open, read, write, delete, and close files on the server
  58. PHP can collect form data
  59. PHP can send and receive cookies
  60. PHP can add, delete, modify data in your database
  61. PHP can be used to control user-access
  62. PHP can encrypt data
  63. With PHP you are not limited to output HTML. You can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML.
  64.  
  65.  
  66. Why PHP?
  67. PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
  68. PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  69. PHP supports a wide range of databases
  70. PHP is free. Download it from the official PHP resource: www.php.net
  71. PHP is easy to learn and runs efficiently on the server side
  72.  
  73.  
  74. -------------------------------
  75.  
  76. PHP 5 vs. PHP 7
  77. PHP 7 is the newest version of PHP.
  78.  
  79. PHP 7 is much faster than the previous popular stable release!
  80.  
  81. PHP 7 has improved Error Handling, supports stricter Type Declarations and supports new operators, methods and properties.
  82. ---------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement