#1
  1. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,687
    Rep Power
    171

    Is PHP COOK BOOK still up to date?


    Hello;

    I am reading PHP COOK BOOK, wondering how up to date it is.

    Any comments?
    Thank you
  2. #2
  3. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Location
    Pennsylvania, USA
    Posts
    10,908
    Rep Power
    6352
    From the website you just linked to:
    Released: November 2002
    And from the wiki page on PHP:
    4.2.0 | 2002-04-22 | Disabled register_globals by default. Data received over the network is not inserted directly into the global namespace anymore, closing possible security holes in applications.[30]
    4.3.0 | 2002-12-27 | Introduced the command-line interface (CLI), to supplement the CGI.[30][31]
    So no, an 11 year old book which was written before PHP even had a command line is not up to date.

    Unless you're working from a re-release. Look in the book to see what version of PHP they worked against. You want at least 5, preferably 5.3.
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.
  4. #3
  5. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,687
    Rep Power
    171
    Originally Posted by ManiacDan
    From the website you just linked to:
    And from the wiki page on PHP:
    So no, an 11 year old book which was written before PHP even had a command line is not up to date.

    Unless you're working from a re-release. Look in the book to see what version of PHP they worked against. You want at least 5, preferably 5.3.
    This is the 2006 version.
  6. #4
  7. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,687
    Rep Power
    171
    Also Dan I need to buy a downloadable vesion of a newer php book. Do you have any suggestions?

    Thank you
  8. #5
  9. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Location
    Pennsylvania, USA
    Posts
    10,908
    Rep Power
    6352
    I like this book, but obviously I haven't actually bought a PHP book in years.
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.

IMN logo majestic logo threadwatch logo seochat tools logo