Introduction To Php

1,689 views

Published on

This presentation slides are for very basic PHP beginners !!

Thanks

Published in: Technology
1 Comment
1 Like
Statistics
Notes
  • Very well done...Very useful.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
1,689
On SlideShare
0
From Embeds
0
Number of Embeds
38
Actions
Shares
0
Downloads
73
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Introduction To Php

  1. 1. Introduction to PHP <ul><li>What is PHP? </li></ul><ul><li>Why am I interested in PHP!! </li></ul><ul><li>What can I do in PHP? </li></ul><ul><li>How to start? </li></ul><ul><li>Hello World </li></ul>
  2. 2. What is PHP Acronym for: Hypertext Preprocessor PHP is open source, server side scripting language. It is best suited for web development and can be easily embed in HTML. PHP can be used in following areas Server side scripting Command line scripting Writing desktop application.
  3. 3. Why I am interested in PHP!! <ul><li>It’s easy </li></ul><ul><li>It’s free </li></ul><ul><li>Cross-platform </li></ul><ul><li>It’s the most popular server side scripting with active community and online tutorial to start </li></ul><ul><li>Easy to learn and Quick to pick up </li></ul><ul><li>  </li></ul>
  4. 4. How to start? <ul><li>Download WAMP stack for windows. </li></ul><ul><li>(http://www.wampserver.com/en/download.php) </li></ul><ul><li>Unzip it and install. </li></ul><ul><li>Set configuration parameter- if required. </li></ul><ul><li>Store your php file in root folder (www). </li></ul><ul><li>Open browser and type the url to access the page on localhost. </li></ul><ul><li>  </li></ul><ul><li>And we are done with our steps!! </li></ul>
  5. 5. “ Hello World” <ul><li>Every neophyte in programming starts with “Hello World” program. We will follow the tradition!! </li></ul><ul><ul><li>test.php </li></ul></ul><ul><ul><li><?php </li></ul></ul><ul><ul><li>            Echo ‘Hello World !!’; </li></ul></ul><ul><ul><li>?> </li></ul></ul><ul><li>Type in your web browser address bar http://localhost/test.php you must be able to see “Hello World” on the screen. </li></ul>
  6. 6. Am I comfortable with PHP!! Yes off course !! If you are successfully able to run your test.php then you can read the tutorials and work. The very first step to understand how to install PHP on windows and write “hello world” script is done. If you feel something more can be added for the beginners please let me know at pritiatwork@gmail.com

×