php lesson 1
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

php lesson 1

on

  • 670 views

This file is introduction about programs that is needed for learning php.

This file is introduction about programs that is needed for learning php.

Statistics

Views

Total Views
670
Views on SlideShare
670
Embed Views
0

Actions

Likes
0
Downloads
13
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

php lesson 1 Presentation Transcript

  • 1. PHP Done by : Amar Bulbul
  • 2. Tool needed before starting
    • Any type of editor such as notepad,Dreamwaver, or notepad++ (I used notepad ++ it could be download from the internet for free)
  • 3. Tool needed before starting
    • Any hosting server that support php.
    • You could make your localhost server supporting php by downloading the following server
      • WAMP for windows users
      • MAMP for mac users
    • You could download these program from the internet just write the name for the program in google and you will get it
  • 4. Errors that you may face when downloading WAMP
    • This WAMP Icon
  • 5. Errors that may you face when downloading WAMP
    • When you click the icon the program will work immediately
    • The icon will be displayed in your task bar. If the color of your icon is green then the program is running. Otherwise, there will be error
  • 6. Errors that may you face when downloading WAMP
    • The error will be the following:
  • 7. To solve the error
    • First make sure that you do not open Skype at the same time. If you are using Skype, turn it off.
    • Second if you still have the same error: turn off/disable the IIS
    • If you still have it, then uninstall the program and re-install it again(sometimes installing new version over and old version might cause this problem)
  • 8. Where should you save your file?
    • In the c you will find WAMP file
    • In the WAMP you will find www folder
    • You should save all of your php pages in it. Otherwise, you will not be able to run them.
    • You could arrange your php pages in folders under www
  • 9. Small Example about php
    • Open you editor
    • Type the following:
      • <?php
      • echo “Welcome to my page” ; ?>
    • Save your page with php extension under www folder
    • Do not forgot to by attention to the file type(it should be php file)
  • 10. Small Example about php
  • 11. Small Example about php
    • Open your browser write the following
    • Localhost/the name of you page.php
    • In my case localhost/page1.php
  • 12.
    • In the next lecture we will learn more about php and we will understand what each symbol means