PHP Solutions - Dynamic Web Design Made Easy (2006).pdf
(
9117 KB
)
Pobierz
13224212 UNPDF
Create dynamic websites with PHP
and MySQL, quickly and painlessly
Learn practical techniques that
you can use right away
Keep hackers at bay with secure
coding practices
DAVID POWERS
PHP Solutions: Dynamic
Web Design Made Easy
David Powers
PHP Solutions:
Dynamic Web Design Made Easy
Copyright © 2006 by David Powers
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-59059-731-6
ISBN-10 (pbk): 1-59059-731-1
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com,
or visit www.springeronline.com.
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley,
CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit www.apress.com.
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution
has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to
any person or entity with respect to any loss or damage caused or alleged to be caused directly or
indirectly by the information contained in this work.
The source code for this book is freely available to readers at www.friendsofed.com in the
Downloads section.
Credits
Lead Editor
Chris Mills
Senior Production Editor
Laura Cheu
Technical Reviewer
Samuel Wright
Compositor
Molly Sharp
Editorial Board
Steve Anglin, Ewan Buckingham, Gary Cornell, Jason
Gilmore, Jonathan Gennick, Jonathan Hassell, James
Huddleston, Chris Mills, Matthew Moodie, Dominic
Shakeshaft, Jim Sumser, Keir Thomas, Matt Wade
Artist
April Milne
Proofreader
Liz Welch
Senior Project Manager
Kylie Johnston
Indexer
John Collin
Copy Edit Manager
Nicole Flores
Interior and Cover Designer
Kurt Krames
Copy Editors
Nicole Flores, Ami Knox
Manufacturing Director
Tom Debolski
Assistant Production Director
Kari Brooks-Copony
Cover Photography
David Powers
CONTENTS AT A GLANCE
CONTENTS AT A GLANCE
About the Author
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xiii
About the Technical Reviewer
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
xiv
About the Cover Image
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xv
Intro
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xvii
Chapter 1: What Is PHP—And Why Should I Care?
. . . . . . . . . . . . .
3
Chapter 2: Getting Ready to Work with PHP
. . . . . . . . . . . . . . . .
15
Chapter 3: How to Write PHP Scripts
. . . . . . . . . . . . . . . . . . . . . .
45
Chapter 4: Lightening Your Workload with Includes
. . . . . . . . . .
89
Chapter 5: Bringing Forms to Life
. . . . . . . . . . . . . . . . . . . . . . . .
117
Chapter 6: Uploading Files
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
151
Chapter 7: Using PHP to Manage Files
. . . . . . . . . . . . . . . . . . . . .
179
Chapter 8: Generating Thumbnail Images
. . . . . . . . . . . . . . . . . .
211
Chapter 9: Pages That Remember: Simple Login
and Multipage Forms
. . . . . . . . . . . . . . . . . . . . . . . . .
233
Chapter 10: Setting Up MySQL and phpMyAdmin
. . . . . . . . . . .
261
Chapter 11: Getting Started with a Database
. . . . . . . . . . . . . . .
285
Chapter 12: Creating a Dynamic Online Gallery
. . . . . . . . . . . . .
319
Chapter 13: Managing Content
. . . . . . . . . . . . . . . . . . . . . . . . . .
341
Chapter 14: Solutions to Common PHP/MySQL Problems
. . . . .
381
Chapter 15: Keeping Intruders at Bay
. . . . . . . . . . . . . . . . . . . . .
429
Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
444
Plik z chomika:
bohem
Inne pliki z tego folderu:
html_biblia.rar
(27981 KB)
access_2000_ksiega_eksperta.rar
(16770 KB)
borlandc++przyklady.rar
(13386 KB)
3d_studio_max.rar
(2542 KB)
abc_systemu_windows_xp.rar
(4587 KB)
Inne foldery tego chomika:
- Euro 2012
Pliki dostępne do 01.06.2025
Pliki dostępne do 08.07.2024
Pliki dostępne do 19.01.2025
Pliki dostępne do 21.01.2024
Zgłoś jeśli
naruszono regulamin