PHP Basic Concept

What does PHP stand for?

PHP means – Personal Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.

PHP code may be embedded into HTML code, or it can be used in combination with various web template systems, web content management system and web frameworks.

Php Syntax

What is PHP? Write your first PHP Program

A PHP file can also contain tags such as HTML and client side scripts such as JavaScript.

  • HTML is an added advantage when learning PHP Language. You can even learn PHP without knowing HTML but it’s recommended you at least know the basics of HTML.
  • Database management systems DBMS for database powered applications.
  • For more advanced topics such as interactive applications and web services, you will need JavaScript and XML.

The flowchart diagram shown below illustrates the basic architecture of a PHP web application and how the server handles the requests. 

What is PHP? Write your first PHP Program


Why use PHP?

You have obviously head of a number of programming languages out there; you may be wondering why we would want to use PHP as our poison for the web programming. Below are some of the compelling reasons.

  • PHP is open source and free.
  • Short learning curve compared to other languages such as JSP, ASP etc.
  • Large community document
  • Most web hosting servers support PHP by default unlike other languages such as ASP that need IIS. This makes PHP a cost effective choice.
  • PHP is regular updated to keep abreast with the latest technology trends.
  • Other benefit that you get with PHP is that it’s a server side scripting language; this means you only need to install it on the server and client computers requesting for resources from the server do not need to have PHP installed; only a web browser would be enough.
  • PHP has in built support for working hand in hand with MySQL; this doesn’t mean you can’t use PHP with other database management systems. You can still use PHP with
    • Postgres
    • Oracle
    • MS SQL Server
    • ODBC etc.
  • PHP is cross platform; this means you can deploy your application on a number of different operating systems such as windows, Linux, Mac OS etc.

What is PHP used for & Market share

In terms of market share, there are over 20 million websites and application on the internet developed using PHP scripting language.

This may be attributed to the points raised above;

The diagram below shows some of the popular sites that use PHP 

What is PHP? Write your first PHP Program

8,336 comments

  1. สล๊อตออนไลน์

    hey there and thank you for your information – I have definitely picked up
    something new from right here. I did however expertise some technical issues
    using this site, since I experienced to reload the web site a lot of
    times previous to I could get it to load properly.
    I had been wondering if your hosting is OK?
    Not that I am complaining, but sluggish loading instances
    times will often affect your placement in google and could damage your high quality score
    if advertising and marketing with Adwords. Well I’m adding this RSS to my e-mail and can look out for
    much more of your respective exciting content. Make sure you update this again soon. https://sportsxball.com

  2. ベラ ジョン カジノ 出 金 方法

    Wonderful post but I was wanting to know if you could write a litte more on this subject?
    I’d be very grateful if you could elaborate a little bit more.

    Bless you!

  3. andar bahar real money game

    Have you ever considered publishing an ebook or guest authoring on other
    sites? I have a blog based on the same information you discuss and would really like to have you share some stories/information. I know my readers
    would enjoy your work. If you’re even remotely interested,
    feel free to shoot me an e mail.

  4. บาคาร่า

    Sweet blog! I found it while surfing around on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!

    Thank you

  5. poker idn

    What’s up, every time i used to check blog posts here early in the morning, since i enjoy to gain knowledge of more and more.

  6. Robot Sex Doll

    When someone writes an piece of writing he/she retains the plan of a user in his/her
    mind that how a user can understand it. Thus that’s why this post is amazing.
    Thanks!

  7. 코인카지노

    Whoa! This blog looks just like my old one! It’s on a completely
    different topic but it has pretty much the same page layout
    and design. Excellent choice of colors!

  8. s

    I am sure this piece of writing has touched all the
    internet viewers, its really really good post on building up new weblog.

  9. โดจิน

    I like the valuable information you provide in your articles.

    I will bookmark your blog and check again here frequently.

    I am quite certain I’ll learn many new stuff right here!
    Best of luck for the next!

  10. best friend gift box ideas

    The priest, however, secretly performed marriage ceremonies
    for younger males. When Claudius II found out about this,
    he had the priest put in jail.

  11. Bookmarks

    This cookie is set by GDPR Cookie Consent plugin.

    my website: Bookmarks

  12. Discover More

    The launch of the iOS5 operating system for the iPhone 4 this
    autumn will bring about a variety of changes to the way that we
    use the phone. Certain of these are minor enhancements while others are new features.

    One of these new features is the introduction of iCloud, a facility
    that enables you to access all your apps across many different Apple devices, such as devices like an iMac or an iPad.

    In addition, the iCloud service is available for free with iOS5 and allows each
    user to save various material remotely. The content can range from photographs taken on devices to calendars as well as
    documents. Music will soon be added to this list. Currently, it is undergoing Beta trials in US.
    Every user is allocated 5GB of storage space with the option of purchasing additional capacity in the
    event that it is needed. Although 5GB does not sound like a lot, it does go quite a ways due to
    the way iCloud saves your data. Books, photos, and applications are not included in your storage allowance, meaning
    that the storage is used for things like account settings, documents and mail.

    These things take up little space meaning that your storage
    allowance lasts much longer than you would imagine. One of the best ways to think about this service
    is like a hard disk located in the sky. The platform wirelessly synchronises your data across all your devices.

    For instance, if capture a picture in you iPhone 4 you can view it on the Photo Roll of your iPad 2.
    Business users will be delighted with this new system because it will keep your calendars and appointments up-to-date.
    This format will alter the way we utilize our mobile devices.
    The concept of wireless connectivity is a theme that runs through every
    area in iOS5 for Apple’s iPhone 4. Apple are highlighting the fact
    that this is the first completely “PC Free”.
    Before this , everyone who had an iPhone or other portable Apple device needed a home computer or
    laptop in order for it to work. It’s not the
    case with iOS5 It is now possible to take the phone out of its box and activate it without the
    need of wires.

  13. vT7I2qF4qC3

    Howdy I am so grateful I found your website, I really found
    you by error, while I was browsing on Askjeeve for something else, Anyways I am here now and
    would just like to say cheers for a tremendous post and a all round entertaining blog (I also love the theme/design),
    I don’t have time to browse it all at the moment but I have book-marked
    it and also added in your RSS feeds, so when I have time I will be back to read a great deal more,
    Please do keep up the great b.

  14. God medb

    This cookie is established by GDPR Cookie Consent plugin.

    Also visit my site – God medb

  15. Luca

    This cookie is set by GDPR Cookie Approval
    plugin.

    Visit my website greek mythology medb godess (Luca)

  16. god medb

    This cookie is established by GDPR Cookie Permission plugin.

    Also visit my page :: god medb

  17. mlb games today

    I’m not sure exactly why but this web site is loading very slow for me.

    Is anyone else having this problem or is it a problem on my end?
    I’ll check back later on and see if the problem still exists.

  18. Pedro

    But we’ll be looking at extra than simply these two as a result of
    the world of t shirts actually is for ever re-inventing itself.

    Have a look at my website; hen night t shirts (Pedro)

Leave a Reply

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