Results 1 to 7 of 7

Thread: Php

  1. #1
    Join Date
    Apr 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Php

    what is the different between htm and php?

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Erm, www.google.com?

    PHP is a server-side technology which can process data, and HTM is static.

    cr3
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by cr3ative
    PHP is a server-side technology
    Really, it's a generic preprocessor, but it is mainly used to dynamically generate responses to server requests.

    [...] HTM is static.
    HTML is a markup language. There's no such thing as HTM, as far as I know.

    Markup languages, unlike programming languages, don't 'do' anything. They merely indicate the structure of a document. PHP, on the other hand, permits you to 'do' many things. You might generate a HTML document based on the contents of a database. A PHP script might return image or music data, which is useful for tracking usage, or again, just being dynamic.

    Mike


    I think Microsoft created the HTM extension as a hack to get around the 8.3 file naming system in pre-Windows '95 operating systems.

  4. #4
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by mwinter
    I think Microsoft created the HTM extension as a hack to get around the 8.3 file naming system in pre-Windows '95 operating systems.
    I wouldn't be at all suprised if they did. I still have all my websites as name.htm, I was just brought up with it like that. In the same respect, I still use the old DOS shortcuts Shift+Insert and Shift+Delete for Paste/Cut.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  5. #5
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by cr3ative
    I still have all my websites as name.htm
    Devil's spawn!






    I still use the old DOS shortcuts Shift+Insert and Shift+Delete for Paste/Cut.
    I mix the old and the new, just depending where my fingers are at the time.

    Mike

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    But just think of all the thousands of hours of time saved by typing .htm instead of .html, the productivity gains . . .
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Won't somebody think of the L key?

    THE L KEY!

    I mean, if everybody used the L key too often by adding that one character, all the L keys in the world could stop working, leading to a shortage of colossal proportion in the keyboard market!

    Prices would rocket as supply would fail to meet demand, and systems worldwide in an effort to keep costs down would be sold without keyboards, resulting in everyone typing using mouse gestures!

    Soon, only the world's richest people would be able to afford keyboards, while mountains of non-biodegradable, broken keyboards are forcing landfill sites around the countries to overflow.

    I can't take that risk.
    I couldn't live with myself...

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •