Blogs Details

Introduction to php in hindi ( php ka parichay )

  • Jan 12, 2023

Introduction to php in hindi पीएचपी का परिचय ?

PHP (Hypertext Preprocessor) Ek server-side scripting language hai jo web development me use ki jati hai. PHP se dynamic web pages bana sakte hai jisme user input, database connectivity aur bahut kuch hota hai. PHP ko HTML, CSS, JavaScript ke sath use kiya jata hai. PHP se aap apne website me form handling, authentication, aur sessions include kar sakte hai. PHP se aap apne website ke liye e-commerce, blog, aur forum type ke functionality add kar sakte hai. PHP bahut popular scripting language hai, jise aap Linux, Windows, aur MacOS jaise operating systems par use kar sakte hai.

  • HTML
  • CSS
  • JavaScript

Php kya hai ( what is php in hind )?

                       Php kya hai ( what is php in hind )? 

PHP (Hypertext Preprocessor) Ek server-side programming language hai jo commonly web development me use ki jati hai. Isse developer dynamic web pages bana sakte hai jo databases se interact kar sakte hai, user input handle kar sakte hai aur dusre complex tasks perform kar sakte hai. PHP code HTML pages me embed Hota hai our server par execute Hota hai, Jisse HTML client Ke browser Tak send Nahi Hota. Isse different users ke liye different content display karne, information store aur retrieve karne aur dusre functions perform karne ke liye websites banane ke liye use kiya jata hai. PHP open-source language hai Jisse use Karne ke Liye free Hota hai Aur Uska source code publicly available hai. Isse web hosting companies Bhi support Karti hai, Jesse websites Our web-based applications Banane Ke Liye popular choice ban Gaya hai. Jaise ki maine pahle kaha ki Rasmus Lerdorf ne 1995 me kiya tha. Rasmus one PHP ko Personal Home Page Tools Ke Liye Banaya Tha, Jesse Wo Apne website Ke hits our visitors Ke statistics track Kar sake. Iske bad Rasmus Ne PHP ko open-source project Banaya our Dusre developers Ke Sath share Kiya. PHP ka version 1.0 1996 me release Huaa Tha. php ka latest version PHP 8.0.3 hai jo march 2021 me upgrade kiya gaya hai

Some important points about PHP are mentioned here

  • PHP ka pura name "PHP: Hypertext Preprocessor" hota hai ( पीएचपी: हाइपरटेक्स्ट प्रेप्रोसेसर ) hai.

  • PHP language sikhna saral our aasan hota hai !

  • Yeh ek object-oriented language hai !

  • PHP ek open-source scripting language hai !

  • Yeh any scripting language jaise ki (JSP) aur (ASP) se tej hai.

  • PHP ko HTML me embedded kiya ja sakta hain.

  • Ishme compilation ka jarurat nhi hoti hai kyoki php ek interpreted language hai.

  • Php ek server-side programming language hai jiska upyog kisi bhio website ka dynamic samagri ko manage karne ke liye kiya jata hai.

Php kaise kaam karta hai ( how php work in hindi )?

                       Php kaise kaam karta hai

PHP (Hypertext Preprocessor) ek server-side scripting language hai jo web development me commonly use ki jati hai. PHP me scripts execute hote hai server-side, jisse user ke browser me HTML, CSS, ya JavaScript ki tarah output generate hota hai.

PHP ke scripts HTML ke pages ke sath combine hote hai, jisse dynamic pages create karne me madad milti hai. PHP ke saath databases, such as MySQL, SQLite, or PostgreSQL, integrate kiya jaa sakta hai, jisse real-time data access aur manipulation karne me madad milti hai.

PHP ke scripts apne aap execute nahi hoti hai, balki unhe PHP interpreter ke through execute kiya jata hai. PHP interpreter server-side software hota hai jo PHP code ko machine-readable code me translate karta hai.

PHP ke sath bahut se popular web development frameworks, such as Laravel, CodeIgniter, and Symphony, available hai jo developers ko efficient aur organized code write karne me madad karte hai.

PHP ke kuch examples hai:

1. Dynamic websites banane ke liye

2. Form submission and validation

3. Database connectivity and management

4. Session and cookies management

5. File upload and download

PHP ek cross-platform language hai, isliye ise Windows, Mac, and Linux operating systems par use kiya jaa sakta hai.

Php ka upyog kyo kare ( why use php )?

PHP web development ke liye Ek popular choice hai kyunki isme kai advantages hai:

  • Open-source: PHP open-sources hai, isliye developers ko isko use karne me koi additional cost Nahi hai.

  • Cross-platform: PHP Ek cross-platform language hai, Jesse developers ko Windows, Mac, aur Linux operating systems par use karne ki freedom milti hai.

  • Easy to learn: PHP sikhne me easy hai, kyunki isme syntax similar hai C or C++ languages ke.

  • Large community: PHP ke liye bahut saare resources aur support available hai, kyunki isko bahut saare developers use karte hai.

  • Database integration: PHP ke saath bahut se popular databases, such as MySQL, SQLite, and PostgreSQL, integrate kiya jaa sakta hai, jisse real-time data access aur manipulation karne me madad milti hai.

  • frameworks available: PHP ke sath bahut se popular web development frameworks, such as Laravel, CodeIgniter, and Symphony, available hai jo developers ko efficient aur organized code write karne me madad karte hai.

  • Dynamic web pages: PHP ke scripts HTML ke pages ke sath combine hote hai, jisse dynamic pages create karne me madad milti hai.

  • Large number of libraries and functions available: PHP me a large number of libraries and functions hai jo developers ko time and effort save karte hai.

In short PHP is widely used for web development and can be used for creating dynamic, interactive and feature-rich websites, web application, and web services.