Php?

Discussion in 'HTML & Website Design' started by gdutchm, Feb 1, 2008.

  1. #1
    Can someone explain to me what PHP is and what its function is? And if you are so kind, an example. Thank you guys.
     
    gdutchm, Feb 1, 2008 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    It's a server side programming language.

    It's greatly used connected to a MYSQL database for dynamicly loading sites from it.
     
    twistedspikes, Feb 1, 2008 IP
  3. gdutchm

    gdutchm Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So it isn't very important to someone who is not hosting their own websites?
     
    gdutchm, Feb 1, 2008 IP
  4. jakeruston

    jakeruston Banned

    Messages:
    1,363
    Likes Received:
    89
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Correct. If you aren't hosting a website and its just been loaded locally, just still to HTML and such.
     
    jakeruston, Feb 1, 2008 IP
  5. Gnome

    Gnome Active Member

    Messages:
    236
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #5
    If you want to make things like message boards you should use php.

    digitalpoint uses PHP for the message board.
     
    Gnome, Feb 1, 2008 IP
  6. gdutchm

    gdutchm Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I see. Thank you guys for the help.
     
    gdutchm, Feb 1, 2008 IP
  7. qwertie

    qwertie Banned

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I think you may be getting the wrong end of the stick..or i am haha.

    It's a server side programming language but that doesn't mean only server administrators need to worry about it. PHP is very useful in websites for scripts. By scripts i mean, the coding behind the contact forms, or this forum.
     
    qwertie, Feb 1, 2008 IP
  8. JWRmedia

    JWRmedia Banned

    Messages:
    499
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #8
    The simplest way I can sum it up is that HTML is mostly like a "display only" language, while PHP adds functionality.
     
    JWRmedia, Feb 1, 2008 IP
  9. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #9
    The "Serving XHTML Documents" link in my signature block is a .php file -- the desired "as served" document parameters are coded in PHP with optional serving requirements (selecting the MIME type, header information, etc.). If you reveal the source code the data preceding the <head> results from the PHP instructions. If you switch from a XML compliant Browser such as Firefox or Opera to an Internet Explorer Browser (or vice versa) and check the source code you will observe a different header -- you will have observed PHP in action.

    James
     
    jamesicus, Feb 1, 2008 IP