مقدمة إلى PHP

تتم تنفيذ سكربتات PHP على الخادم

المعرفة الأساسية التي يجب أن تكون عليها

قبل الاستمرار في التعلم، يجب أن تكون لديك فهم أساسي لما يلي:

  • HTML
  • CSS
  • JavaScript

إذا كنت ترغب في تعلم هذه المشاريع أولاً، فتأكد من أن لديك الصفحة الرئيسية زيارة هذه الدروس.

ما هو PHP؟

  • PHP هي اختصار "PHP Hypertext Preprocessor"
  • PHP هو لغة برمجة سكربت مفتوحة المصدر مستخدمة على نطاق واسع
  • PHP scripts are executed on the server
  • PHP is free, available for free download and use

PHP is a stunning popular language!

  • It is powerful enough to become the core of the largest blogging system on the internet (WordPress)!
  • It is profound enough to run the largest social network (facebook)!
  • And its ease of use is enough to become the preferred server-side language for beginners!

What is a PHP file?

  • PHP files can include text, HTML, CSS, and PHP code
  • PHP code is executed on the server and the result is returned to the browser as plain text
  • The suffix of PHP files is ".php"

What can PHP do?

  • PHP can generate dynamic page content
  • PHP can create, open, read, write, delete, and close files on the server
  • PHP can receive form data
  • PHP can send and retrieve cookies
  • PHP can add, delete, modify data in the database
  • PHP can limit user access to certain pages on the website
  • PHP can encrypt data

With PHP, you are not limited to outputting only HTML. You can also output images, PDF files, even Flash movies. You can also output any text, such as XHTML and XML.

Why use PHP?

  • PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
  • PHP is compatible with almost all servers (Apache, IIS, etc.)
  • PHP supports various databases
  • PHP is free. Please download from the official PHP resources:www.php.net
  • PHP is easy to learn and can run efficiently on the server side