Vous voulez voir cette page en français ? Cliquez ici.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
16 used & new from CDN$ 3.76

Have one to sell? Sell yours here
 
   
Beginning PHP4
 
 

Beginning PHP4 (Paperback)

by Wankyu Choi (Author), Allan Kent (Author), Chris Lea (Author), Ganesh Prasad (Author), Chris Ullman (Author) "PHP4 is the latest incarnation of PHP - the "PHP Hypertext Preprocessor" ..." (more)
4.0 out of 5 stars  See all reviews (47 customer reviews)
List Price: CDN$ 47.99
Price: CDN$ 30.23 & eligible for FREE Super Saver Shipping on orders over CDN$ 39. Details
You Save: CDN$ 17.76 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 1 to 3 weeks.
Ships from and sold by Amazon.ca. Gift-wrap available.

8 new from CDN$ 8.04 8 used from CDN$ 3.76

Product Details


Product Description

From Amazon.co.uk

Beginning PHP4 offers an almost ideal introductory tutorial to one of today's hottest scripting languages. This book is really all the novice needs to start building dynamic Web sites powered by PHP4, but old hands at programming will also find valuable information inside it.

PHP, of course, is introduced in the book, but there is also an approachable and effective introduction to programming in general. The conscientious tutorial on basic concepts like variables, keywords and flow control will give even beginners an understanding of the basics of writing programs. PHP, it turns out, is not only a great way to generate HTML dynamically, it's a very marketable skill. Web fundamentals like HTTP, HTML form variables, and managing session information using no less than four different techniques are explained thoroughly and effectively. You also find out how to install PHP and other tools on your system, with the assistance of plenty of screen shots.

That's not to say that this book will cramp the style of more experienced developers. Some chapters delve into such important and advanced topics as database programming (with MySQL) and PHP's support for XML. One standout section demystifies the new support for objects and classes in PHP4. Basic topics like managing files and directories on the server, plus graphics processing, are addressed, of course, and a nifty sample program shows you how to build a Web-based text editor. Except for the final case study, a "URL directory manager" (akin to Yahoo) that is rather specialised, the examples are spot on, illustrating everyday programming tasks. You will also learn to generate e-mail with PHP, certainly a valuable skill to have.

The appendix lists several hundred PHP functions in over 50 pages--a handy and useful feature. In all, Beginning PHP4 provides a strong choice for learning about one of today's most powerful and easy-to-use scripting languages. It is concise, fast-moving and thoroughly approachable. --Richard Dragan --This text refers to an out of print or unavailable edition of this title.

Product Description

What is this book about?

PHP is a rapidly growing web technology which enables web designers to build dynamic, interactive web applications, incorporating information from a host of databases, and including features such as e-mail integration and dynamically generated images. PHP4 added tons of features to make web application development even easier, and this book will show you how to make the most of the language's powerful capabilities.

This book is a complete tutorial in PHP's language features and functionality, beginning with the basics and building up to the design and construction of complex data-driven websites. Fully working examples in the book include a directory-style web search engine, a mailing list management system, a web-based file editor, and a graphical online shopping mall guidebook.

What does this book cover?

Here are just a few of the things you'll find covered in this book:

  • Complete tutorial in the PHP language
  • Installation guide and troubleshooting tips
  • Introduction to relational databases and MySQL
  • Practical worked examples throughout, including a detailed case study
  • All code written for both Windows and UNIX systems
  • Detailed language reference included

Who is this book for?

Anybody who knows HTML can use this book. If you've done any programming, that will be useful, but it's not a requirement. You can run all of the code on either a Windows or UNIX (e.g., Linux) system, and the book explains how to set up a web server and database in both of these environments.


Inside This Book (Learn More)
First Sentence
PHP4 is the latest incarnation of PHP - the "PHP Hypertext Preprocessor". Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

47 Reviews
5 star:
 (22)
4 star:
 (12)
3 star:
 (7)
2 star:
 (2)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (47 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

 
4.0 out of 5 stars I went from Zero to Expert and this book was a big help, Jun 22 2004
By "nospam262" (Tumwater, WA) - See all my reviews
I like this book and highly recommend it. It is good for people who are new to PHP but not so good for people who are new to programming. I've done a lot of programming in other languages and needed to learn PHP in a big hurry for a project that I was about to take on. This book got me up to speed fast. I'm inclined to think that a lot of the negative reviews are from people without any programming background. I agree this book is not the right place to start if you are a non-programmer. I've also done a fair amount of html prior to reading this book, I found that it's html section and php techniques for generating forms was really excellent, I learned some really great things!

As far as depth goes, such as discussing details of the functions. Well, that's what the php manual is for (www.php.net). Initially I tried to learn the language from the php manual alone but didn't get very far, I couldn't see the forest because the trees were in the way, eg too much detail without a big picture. What this book does is to focus on the big picture of how and why to do something. It also shows multiple approachs to the same problem and compares them so that you get an idea of the alternatives and trade-offs.

Starting from not knowing php to writing some very sophisticated programs... I learned it all with two books and the manual. The other book that I read is PHP Developers Cookbook. The two books are very complimentary, there is not that much overlap between them instead they fill each others gaps. Note that the "Cookbook" is more advanced and assumes that you already know a lot of php.

Okay, the one big gripe that I have is their lack of proof reading. They must have really rushed this to press. There are literally hundreds of errors and the errata sheet is incomplete. However it is easy to get past the errors as long as you don't make the assumption that the text is always correct. In other words, if something doesn't make sense then you should be suspicious of an error instead of always assuming that it's your lack of understanding.

The necessity of Rewriting the code examples is a little annoying, but the book can hardly be faulted for language changes that were made after the book was published. PHP is a rapidly moving target, no book will ever be current for very long. And besides, the best way to understand a program is to take it apart and rewrite it, that's why they are called "Examples". (most of the changes needed are trivial).

Mostly what you need to do is to change $varname to $_REQUEST['varname']

and that will fix it. If you are having trouble finding the correct variable then use

phpinfo();

to get a list of all of the available variables, then you just pick what you need from the list and put a $ in front of it.
(...)By the way, the code examples can be downloaded from their website which can save a lot of typing...

Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
3.0 out of 5 stars It Gets The Job Done, But It's Nothing Special, May 26 2004
By Philip R. Heath (Hurst, TX United States) - See all my reviews
(REAL NAME)   
If you've been programming for a while, the pace of this book is too slow to read cover to cover. The best thing to do is read the first half of the book (through chapter 9) and then skip around to what interests you. As others have mentioned, you will have to modify the code in the examples to get them to work because of the use of globals. This is not impossible to overcome if you write the message board for the book at http://p2p.wrox.com. However, it is annoying. There are other errors too, but it doesn't take much in the way of trial and error to get around them. The three chapters on MySQL are the most useful. If you've worked with databases in other scripting languages, e.g. Perl, Python, or Ruby, it's simply a matter of looking up what you want to do. There are some good style examples on structuring PHP code - use of an "$action" variable to drive the behavior of the site from a single page. The book also stresses putting reusable code in include files. The author dismisses classes/objects as not really being useful in PHP, but the use of classes elimates the need for the "global" declarations in many of the common include files. All in all, this is an adequate book, but noting profound. If you have programming experience, this book will get you up and running quickly.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
3.0 out of 5 stars Warning: error in most code, April 19 2004
By "redbaro" (Norway) - See all my reviews
This book is very well written, but you should know that the code in the book is written with "register_globals" turned on in the php engine. This makes the code insecure and should be turn off. You have to alter to make it work.

Look at the errata for more info: http://www.wrox.com/books/errata/0764543644_errata.shtml

Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
Most recent customer reviews

1.0 out of 5 stars Dissapointingly inconsistent book
This book was an alright general introduction to PHP4 let down by a great number of inconsistencies between authors. Read more
Published on Dec 2 2003 by robpolding

1.0 out of 5 stars Dissapointingly inconsistent book
The book is out of date as it covers PHP4 before security changes were made. It is also very inconsistant later on, as the various authors seem to believe in very different... Read more
Published on Dec 2 2003 by robpolding

3.0 out of 5 stars I was stucked at chatper 6
I was having headache when i read the book, that because the examples were all related to MATH . it's no use for building a real website . Read more
Published on Jun 18 2003 by LuckyStar

4.0 out of 5 stars Train gives it four stars
The book was great. I learned from in-depth examples. The only problem I had with the book was that some of the examples didn't work. Read more
Published on Jun 13 2003 by Seth Buntin

5.0 out of 5 stars Better then O'Reilly
I requested that my Parents buy me this book over two years ago. Sure I paid them for it but I demanded this book. Read more
Published on Jan 26 2003 by drgan

5.0 out of 5 stars Excellent for the beginner - get this red book!
I began php with two books, one being this wrox publication and the other a more advanced sams publication. Read more
Published on Jan 19 2003 by Richard York

2.0 out of 5 stars Beginning PHP4 is not well written
This book reads as if someone recorded a group of teen-aged programmers telling someone how to write PHP scripts, and then simply transcribed what they said into a book. Read more
Published on Jan 10 2003 by Syd Allan (www.jagular.com/beo...

3.0 out of 5 stars GOOD BOOK, LACKS DETAILS AND EXPLANATION
this book is heavy, its thick and its almost completely useless. well not totally useless, but it does lack alot of details and explanation about how some functions are created... Read more
Published on Nov 10 2002 by Jon

4.0 out of 5 stars If you are a solid actionscripter....
....get the Professional book, even if you have limited PHP experience. I thought it would be a good idea to start from scratch even though I had fairly advanced actionscripting... Read more
Published on Oct 25 2002 by Tony Montana

5.0 out of 5 stars excellent beginner book
Wrox publishing puts out the best books. This book is wonderful and explains everything fully. I would recommend this book to all beginners and advanced users.
Published on Sep 23 2002 by D. Fisher

Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.