Not the typical n00b question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thundarr
Forum Newbie
Posts: 5
Joined: Tue Jan 13, 2009 1:11 am

Not the typical n00b question

Post by thundarr »

hi all,

I have decided to actually learn php rather than figuring out what my predecessors left me with and avoiding any actual use other than updating tables.

Basically I was at the bookstore and noticed some books on php and said "you know I really ought to know some server side stuff instead of the basic client side biz". Long story short I picked up a book. "PHP 6 fast and easy web development". So far so good everything makes sense and all my "tuts" are comin up gravy. Further in it says hey lets create a phpinfo () and see what happens and go over our results.

Results the host I use is running version 5.2.5 (I might be wrong about that third digit)
I'm learning version 6 and have had no real working knowledge of php before this.

I searched and could not find a release date for 6. Did I just screw up royally and pick up the wrong book? Also has anyone dealt with godaddy before in terms of updating the version of php on a server?

I appreciate your time and look forward to learning the language and hopefully returning the favor of knowledge to those who need it.

Thanks,
Thundarr the Barbarian
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: Not the typical n00b question

Post by jaoudestudios »

What is the full title of the book?

If your book includes information on php6, then it is fine and future proof, as long as it teaches you the general basics that are in all versions. When it mentions php6 built in functions/libs then they wont work on your php5 setup.
thundarr
Forum Newbie
Posts: 5
Joined: Tue Jan 13, 2009 1:11 am

Re: Not the typical n00b question

Post by thundarr »

Thanks!

The full title is: "PHP 6 Fast & Easy Web Development"

So far it seems to be covering the basics. I'm only up to Chapter 7: Displaying Dynamic Content atm. I'm going to keep slogging through it. 8)
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Re: Not the typical n00b question

Post by daedalus__ »

the reviews on amazon are saying some pretty bad stuff lol

i usually buy books from sans
thundarr
Forum Newbie
Posts: 5
Joined: Tue Jan 13, 2009 1:11 am

Re: Not the typical n00b question

Post by thundarr »

(sigh) It figures, and of course I cant return the thing because I assaulted it with my highlighter already. It was one of those I knew I should have ordered online but it was right there. Looks Like I'm book shopping again.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: Not the typical n00b question

Post by jaoudestudios »

I would keep it and use it. Just be aware that some examples might not work. You can always check the functions on php.net to see what versions they are or if certain parts of the flags in the function/class are only available to php6.

Is there not a beta of php6 out yet? If so, you could use that for testing/development, but would not help when you come to make stuff live as production servers wont have php6 for a while.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Not the typical n00b question

Post by papa »

I like the Wrox series as I've mentioned in another thread.

Example:
http://www.wrox.com/WileyCDA/WroxTitle/ ... 79665.html

I buy my books from Amazon.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: Not the typical n00b question

Post by jaoudestudios »

Me too, amazon rules. Well maybe not but it is good enough for me :wink:
thundarr
Forum Newbie
Posts: 5
Joined: Tue Jan 13, 2009 1:11 am

Re: Not the typical n00b question

Post by thundarr »

Thanks guys,

I will have a look at that book, I believe the store might actually have that one. Still, I'm going to check amazon. That's where I picked up all my javascripting books. Think I spent 12 dollars for a used copy of a 30 dollar book :D


Thundarr the Barbarian
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Not the typical n00b question

Post by papa »

thundarr wrote:Thanks guys,

I will have a look at that book, I believe the store might actually have that one. Still, I'm going to check amazon. That's where I picked up all my javascripting books. Think I spent 12 dollars for a used copy of a 30 dollar book :D


Thundarr the Barbarian
Offtopic but I got to ask. How did you become a barbarian, did you go to school for that?
thundarr
Forum Newbie
Posts: 5
Joined: Tue Jan 13, 2009 1:11 am

Re: Not the typical n00b question

Post by thundarr »

lol no schooling necessary. I recently found my son watching my all time favorite cartoon Thundarr the Barbarian on Boomerang and thought hey that's a good one to use. :) Nothing like growing up watching a cartoon that dooms the world in 1994 with runaway planet the splits the moon in half. :lol:
Post Reply