- Taschenbuch: 564 Seiten
- Verlag: Course Technology; Auflage: 1 (29. Januar 2008)
- Sprache: Englisch
- ISBN-10: 1598634712
- ISBN-13: 978-1598634716
- Größe und/oder Gewicht: 18,9 x 3,8 x 22,9 cm
- Durchschnittliche Kundenbewertung: Schreiben Sie die erste Bewertung
- Amazon Bestseller-Rang: Nr. 1.369.869 in Fremdsprachige Bücher (Siehe Top 100 in Fremdsprachige Bücher)
- Komplettes Inhaltsverzeichnis ansehen
PHP 6 Fast & Easy Web Development (Englisch) Taschenbuch – 29. Januar 2008
Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.
Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.
Wenn Sie dieses Produkt verkaufen, möchten Sie über Seller Support Updates vorschlagen?
Introduction PART I: GETTING STARTED Chapter 1: INSTALLING AND CONFIGURING MYSQL Chapter 2: Installing Apache Chapter 3: Installing PHP PART II: THE ABSOLUTE BASICS OF CODING IN PHP Chapter 4: Mixing PHP and HTML Chapter 5: Introducing Variables and Operators Chapter 6: Using PHP Variables PART III: START WITH THE SIMPLE STUFF Chapter 7: Displaying Dynamic Content Chapter 8: Sending E-Mail Chapter 9: Using Your File System Chapter 10: Uploading Files to Your Web Site PART IV: GETTING TO KNOW YOUR MYSQL DATABASE Chapter 11: Establishing a Connection and Poking Around Chapter 12: Creating a Database Table Chapter 13: Inserting Data into the Table Chapter 14: Selecting and displaying Data PART V: USER AUTHENTICATION AND TRACKING Chapter 15: Database-Driven User Authentication Chapter 16: Using Cookies Chapter 17: Session Basics PART VI: CREATING YOUR OWN CONTACT MANAGEMENT SYSTEM Chapter 18: Planning Your System Chapter 19: Adding Contacts Chapter 20: Modifying Contacts Chapter 21: Deleting Contacts Chapter 22: Working with Contacts PART VII: ADDITIONAL PROJECT EXAMPLES Chapter 23: Managing a Simple Mailing List Chapter 24: Creating Custom Logs and Reports Chapter 25: Working with XML PART VIII: APPENDIXES Appendix A: Additional COnfiguration Options Appendix B: Basic PHP Language Reference Appendix C: Writing Your Own FUnctions Appendix D: Wiring Your Own Classes and Objects Appendix E: Database Normalization and SQL Reference Appendix F: Using SQLite Appendix G: Getting Help Index
Don't spend your time wading through manuals to learn PHP 6. Spend it doing what you do best - creating web pages! With "PHP 6 Fast & Easy Web Development" you can get up and running with PHP 6, Apache, and MySQL with ease. By the time you're finished, you'll be able to display dynamic content, build your own contact management system, create custom reports, work with XML, and much more. Less time, less effort, more results!
|5 Sterne (0%)|
|4 Sterne (0%)|
|3 Sterne (0%)|
|2 Sterne (0%)|
|1 Stern (0%)|
Die hilfreichsten Kundenrezensionen auf Amazon.com
If the code could throw a warning, it is often preceded with an @ sign, which in PHP just suppresses the warning. Rather than show or explain to the reader how to either prevent the warnings from appearing, checking code to make sure the values passed to the function won't cause a warning or any of the other correct, standard, and not dangerous ways of preventing warnings from showing to the user, it just includes the @ sign with no explanation.
Throughout the book I don't recall seeing a single place where array variables are accessed correctly. For example,
if ($_SESSION[valid] != 'Yes') ....
Unless the word valid is a defined constant, PHP will try to find a constant with that name, not find any, issue a notice, and then try to use valid as a string. The correct way to do this check would be
if ($_SESSION['valid'] != 'Yes')...
Additionally, for a book that is supposed to be about PHP 6, very little PHP 6 is actually discussed anywhere. Unicode will be one of the biggest additions to the PHP 6 code, yet the only place that even mentions unicode is page 68 which has a little 3 line text box. The text in the box mentions that with PHP 6, unicode will be on by default, and then tells you how to disable it by changing an ini setting!
The code examples in this book are aimed at a beginner PHP programmer. However, a beginner PHP programmer may not know how wrongly they are being presented. I urge you, if you are a beginning PHP programmer to avoid this book. If you are a beginning programmer, avoid this book. If you are an intermediate to expert PHP programmer, avoid this book, or borrow it and laugh at the horrible examples of how to not code PHP.
I read a lot of PHP books. Since I've been coding PHP since 1997, there's usually not a lot that I learn from the PHP books. However, I usually also don't have such a strong reaction against a book that I have to immediately write an Amazon review urging others to avoid a book. In fact most of the other PHP books I've read or own do have a lot of good.
Please, stay away from this book. If you don't know PHP already, it will ruin you as a PHP programmer.
This book is only to learn the basic functions of PHP. By no means will it show you how to make a dynamic website. Which will be my next PHP book purchase.
Yes, there are probably much better PHP books out there but it helped me enough to get started.
Most notable to me, however, was the god aweful piece of code found in one of the introductory chapters which, if ever put on a live server, would open up the server to any number of exploits, including access to the system() function. Here is an excerpt:
echo $result = $_POST['func']($_POST['text1']);
Yes, that's right, output the result of a function call the client provides, applied to a parameter the client provides. Absolutely ridiculous.
Now, I haven't read much further than this example (p 110), but even if somewhere later on the authors take the time to discuss security, the fact that they separate the two all but guarentees that the message is not getting across. Please, please please do not purchase this book. I am returning it today, and I encourage those of you who made the same mistake I did to return it as well.
A far, far better book which covers PHP and MySQL in a professional, secure, and yet introductory fasion is PHP and MySQL Web Development (4th Edition) (Developer's Library). This is far and away my favorite programming book, and I promise anyone who is interested in learning PHP or MySQL will benefit from this book.