Curriculum

  • 2 Sections
  • 6 Lessons
  • 10 Weeks
Expand all sectionsCollapse all sections
  • Section 01: Basic PHP
    3
    • 1.1
      Lesson 1: PHP – Introduction
    • 1.2
      Lesson 2: PHP – Environment Setup
    • 1.3
      Lesson 3: PHP – Syntax Overview
  • Section 02: Advanced PHP
    3
    • 2.1
      Lesson 5: PHP – Predefined Variables
    • 2.2
      Lesson 4: PHP – Coding Standard
    • 2.3
      Lesson 6:PHP For PERL Developers

Lesson 1: PHP – Introduction

PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994.

  • PHP is a recursive acronym for “PHP: Hypertext Preprocessor”.
  • PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.
  • It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
  • PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the Unix side. The MySQL server, once started, executes even very complex queries with huge result sets in record-setting time.
  • PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4 added support for Java and distributed object architectures (COM and CORBA), making n-tier development a possibility for the first time.
  • PHP is forgiving: PHP language tries to be as forgiving as possible.
  • PHP Syntax is C-Like.

Common uses of PHP

  • PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them.
  • PHP can handle forms, i.e. gather data from files, save data to a file, through email you can send data, return data to the user.
  • You add, delete, modify elements within your database through PHP.
  • Access cookies variables and set cookies.
  • Using PHP, you can restrict users to access some pages of your website.
  • It can encrypt data.

Characteristics of PHP

Five important characteristics make PHP’s practical nature possible −

  • Simplicity
  • Efficiency
  • Security
  • Flexibility
  • Familiarity

“Hello World” Script in PHP

To get a feel for PHP, first start with simple PHP scripts. Since “Hello, World!” is an essential example, first we will create a friendly little “Hello, World!” script.

As mentioned earlier, PHP is embedded in HTML. That means that in amongst your normal HTML (or XHTML if you’re cutting-edge) you’ll have PHP statements like this −

If you examine the HTML output of the above example, you’ll notice that the PHP code is not present in the file sent from the server to your Web browser. All of the PHP present in the Web page is processed and stripped from the page; the only thing returned to the client from the Web server is pure HTML output.

All PHP code must be included inside one of the three special markup tags ATE are recognised by the PHP Parser.

A most common tag is the <?php…?> and we will also use the same tag in our tutorial.

From the next chapter we will start with PHP Environment Setup on your machine and then we will dig out almost all concepts related to PHP to make you comfortable with the PHP language.

Lesson 2: PHP – Environment Setup
Next

WhatsApp us now

Login with your site account

Lost your password?

Not a member yet? Register now

Register a new account

Are you a member? Login now

HomeCourses
Search

Search

    Account

    Modal title

    Main Content

    Proact4Life Learning Solutions At Proact4Life, we empower students with industry-ready SAP training, English communication, and leadership skills—helping them build confident, high-paying careers through real-time projects and placement support. Building Careers. Transforming Lives.

    Company

    • Home
    • About Us
    • Contact Us

    Our Programs

    • SAP HCM
    • SAP SuccessFactors
    • SAP S4/ HANA
    • FAQ
    • English Communication
    • Leadership Training

    Contact

    +91 939 104 3625

    connect@proact4lifelearning.com

    H.No 2-94, 3rd Floor, Balaji Chappan Bhog Family Dhaba Gangaram, Annapurna Enclave, Chanda Nagar, Serilingampalle (M), Hyderabad, Telangana 500050

    WhatsApp us now

    Login with your site account

    Lost your password?

    Not a member yet? Register now

    Register a new account

    Are you a member? Login now

    HomeCourses
    Search

    Search

      Account

      Modal title

      Main Content

      Proact4Life Learning Solutions At Proact4Life, we empower students with industry-ready SAP training, English communication, and leadership skills—helping them build confident, high-paying careers through real-time projects and placement support. Building Careers. Transforming Lives.

      Company

      • Home
      • About Us
      • Contact Us

      Our Programs

      • SAP HCM
      • SAP SuccessFactors
      • SAP S4/ HANA
      • FAQ
      • English Communication
      • Leadership Training

      Contact

      +91 939 104 3625

      connect@proact4lifelearning.com

      H.No 2-94, 3rd Floor, Balaji Chappan Bhog Family Dhaba Gangaram, Annapurna Enclave, Chanda Nagar, Serilingampalle (M), Hyderabad, Telangana 500050

      WhatsApp us now

      Login with your site account

      Lost your password?

      Not a member yet? Register now

      Register a new account

      Are you a member? Login now

      HomeCourses
      Search

      Search

        Account

        Modal title

        Main Content