PHP Kya Hota Hai Yah Kaha Kaam Ata Hai? | What is PHP in Hindi

Yaha aap janage ki PHP kya hai, iski hindi defination aur yah kya kaam aati hai (what is PHP language in Hindi).

php-kya-hai

PHP ek script language hai jo web development me kaam aati hai, PHP se dynamic website design ki jati hai. Yah HTML language ke sath me embed hoti hai aur HTML ke code ko short kati hai. It means kam HTML ke code ko PHP se jyada kam ke liye use me le sakte hai.

Yah Kaha Kaam Aati hai?

Yah sabse jyada use web framworks, content management jaise WordPress (jo duniya ka sabse popular blogging platform hai) me kiya jata hai.

Also read: WordPress Kya Hai?

Kab aur Kisne Banai?

PHP ko Rasmus Lerdorf ne 1994 ko develop (Viksit) ki thi.

HTML kaise kaam karti hai?

PHP baki language HTML, CSS ki tarah without web server nahi chalti hai. PHP ek server language hai.

Also Read: CSS Kya Hai?

Server ek software hota hai jo puri duniya me web pages deliver karta hai. It means jab browser ke URL box me koi URL type karke Enter karte hai tab server tak ek message jata hai ki partiulcar URL ke liye web pages show kiye jaaye aur apka browser jo HTML file ko read karke apko uska output yaani website show kar deta hai.

Also Read: Server Kya Hai?

PHP me opening tag <?php aur closing tag ?> hota hai, jiske bich PHP ke code hote hai.

<?php echo "<p>Hello World</p>"; ?>

Output:

Hello World

Upar PHP coding me echo se output diya jata hai. PHP language browser tak deliver nahi hota hai, aur isi wajah se kisi bhi website ka view source ya inspect element se PHP ki coding nahi dekh sakte hai jaise HTML, CSS etc me hota hai.

Web browser PHP read nahi karta hai isliye server se PHP HTML code me deliver hoti hai.

Example:

<?php echo "<p>Hello World</p>"; ?>

Browser me deliver hoti hai:

<p>Hello World</p>

PHP ki sabse achi strength yah hai ki is ise jaha jarurat hoti hai wahi opening tag and closing tag ke bich me likh sakte hai. Aur aise opening and closing tag ke hi page me kai bar kar sakte hai.

PHP Ka editor kya hai? Iske Code Kisme Likhne Hote Hai?

HTML and CSS ki tarah PHP ka bhi Notepad hi hota hai jo har window me by default hota hai aur Notepad ka advance version Notepad++ bhi hai jo friendly web designing ke liye use me liya jata hai.

PHP output

PHP direct browser me run nahi hoti hai, iske liye ek software chahiye hota hai jaise Xamp, Wamp etc.

Main apko XAMPP recommend karta hu, aur ise install karke PHP ko run kar sakte hai iska output browser me dekh skate hai.

Yaha click karke XAMPP ko download kar sakte hai.

PHP Versions

  1. PHP 1. 0 (8 June, 1995)
  2. PHP 2.0 (1 November, 1997)
  3. PHP 3.0 (6 June 1998)
  4. PHP 4.0 (6 June 1998)
  5. PHP 4.1 (10 December 2001)
  6. PHP 4.2 (22 April 2002)
  7. PHP 4.3 (27 December 2002)
  8. PHP 4.4 (11 July 2005)
  9. PHP 5.0 (13 July 2004)
  10. PHP 5.1 (24 November 2005)
  11. PHP 5.2 (2 November 2006)
  12. PHP 5.3 (30 June 2009)
  13. PHP 5.4 (1 March 2012)
  14. PHP 5.5 (20 June 2013)
  15. PHP 5.6 (28 August 2014)
  16. PHP 6.x (Not released)
  17. PHP 7.0 (3 December 2015)
  18. PHP 7.1 (November 2016)

PHP Ko Kaise Sikhe?

PHP ko sikhne se pahle HTMl aur CSS ko sikhna bahtarin rahta hai. Aur PHP ko sikhne ke liye YouTube par Hindi channel bhi hai aur Hindi blogs bhi.

Ise sahi tarike se waise to w3schools.com se sikha jaa sakta hai.

Aage padhe: PHP kaise sikhe?

Leave a Reply

Your email address will not be published. Required fields are marked *