Muutke küpsiste eelistusi

E-raamat: PHP and MySQL Phrasebook

  • Formaat: PDF+DRM
  • Sari: Developer's Library
  • Ilmumisaeg: 09-Oct-2012
  • Kirjastus: Addison-Wesley Educational Publishers Inc
  • Keel: eng
  • ISBN-13: 9780133040326
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 14,61 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Sari: Developer's Library
  • Ilmumisaeg: 09-Oct-2012
  • Kirjastus: Addison-Wesley Educational Publishers Inc
  • Keel: eng
  • ISBN-13: 9780133040326
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Presents essential code and commands for PHP and MySQL to create dynamic Web pages.

PHP and MySQL Phrasebook gives you the code you need to complete your web programming projects quickly and effectively in PHP, the leading scripting language for creating dynamic web pages.

Concise and Accessible

Easy to carry and easy to use–lets you ditch all those bulky books for one portable pocket guide

Flexible and Functional

Packed with more than 100 customizable code snippets–so you can readily code functional PHP and MySQL in just about any situation

Christian Wenz is an author and consultant with a focus on web technologies. He co-wrote the Zend PHP 5 and Zend PHP 5.3 Certifications and has contributed to several PHP packages in the PEAR repository.

Register your book at informit.com/register for convenient access to downloads, updates, and corrections as they become available.

Introduction 1(6)
1 Manipulating Strings
7(32)
Comparing Strings
8(1)
Checking Usernames and Passwords
9(2)
Converting Strings into HTML
11(2)
Using Line Breaks
13(1)
Encrypting Strings
14(2)
Checksumming Strings
16(3)
Extracting Substrings
19(1)
Protecting Email Addresses Using ASCII Codes
20(4)
Scanning Formatted Strings
24(1)
Getting Detailed Information about Variables
25(1)
Searching in Strings
26(3)
Using Perl-Compatible Regular Expressions
29(1)
Finding Tags with Regular Expressions
30(1)
Validating Mandatory Input
31(3)
Validating Email Addresses
34(1)
Search and Replace
35(4)
2 Working with Arrays
39(32)
Accessing All Elements of Numeric Arrays
41(2)
Accessing All Elements of Associative Arrays
43(1)
Accessing All Array Elements in Nested Arrays
44(3)
Turning an Array into Variables
47(1)
Converting Strings to Arrays
48(1)
Converting Arrays to Strings
49(1)
Sorting Arrays Alphabetically
50(1)
Sorting Associative Arrays Alphabetically
51(2)
Sorting Nested Arrays
53(2)
Sorting Nested Associative Arrays
55(2)
Sorting IP Addresses (as a Human Would)
57(1)
Sorting Anything
58(1)
Sorting with Foreign Languages
59(2)
Applying an Effect to All Array Elements
61(4)
Filtering Arrays
65(2)
Getting Random Elements Out of Arrays
67(1)
Making Objects Behave Like Arrays
68(3)
3 Date and Time
71(28)
Using Text within date()
74(1)
Formatting DateTime Objects
75(1)
Automatically Localizing Dates
75(4)
Manually Localizing Dates
79(1)
Using the Current Date, the U.S./U.K./European Way
80(1)
Formatting a Specific Date
80(2)
Validating a Date
82(1)
Calculating a Relative Date
83(1)
Creating a Sortable Time Stamp
84(1)
Converting a String into a Date
85(1)
Determining Sunrise and Sunset
86(1)
Using Date and Time for Benchmarks
87(2)
Using Form Fields for Date Selection
89(2)
Create Self-Updating Form Fields for Date Selection
91(2)
Calculating the Difference between Two Dates
93(3)
Using GMT Date/Time Information
96(3)
4 Working with Objects (and Related Topics)
99(24)
Setting Up Classes
100(2)
Understanding Inheritance
102(2)
Using Abstract Classes and Interfaces
104(4)
Preventing Inheritance and Overwriting
108(1)
Using Autoloading
109(2)
Cloning Objects
111(2)
Serializing and Deserializing Objects
113(2)
Implementing Singletons
115(5)
Using Traits
120(3)
5 Interacting with Web Forms
123(40)
Sending Form Data Back to the Current Script
124(1)
Reading Out Form Data
125(3)
Checking Whether a Form Has Been Submitted
128(1)
Saving Form Data into a Cookie
129(2)
Prefilling Text Fields and Password Fields
131(4)
Prefilling Multiline Text Fields
135(1)
Preselecting Radio Buttons
136(1)
Preselecting Check Boxes
137(1)
Preselecting Selection Lists
138(2)
Preselecting Multiple Selection Lists
140(3)
Processing Graphical Submit Buttons
143(1)
Checking Mandatory Fields
144(2)
Checking Selection Lists
146(3)
Escaping Output
149(1)
Validating Input
150(1)
Writing All Form Data into a File
151(2)
Sending All Form Data via Email
153(1)
Getting Information about File Uploads
154(3)
Moving Uploaded Files to a Safe Location
157(1)
Monitoring the Progress of a File Upload
158(5)
6 Remembering Users (Cookies and Sessions)
163(38)
Understanding Cookies
164(3)
Creating a Cookie
167(2)
Reading Out Cookies
169(1)
Setting a (Reasonable) Expiry Date
170(1)
Setting a Client-Specific Expiry Date
171(1)
Deleting a Cookie
172(2)
Making Cookies Accessible for Several Domains
174(2)
Checking Whether the Client Supports Cookies
176(1)
Saving Multiple Data in One Cookie
177(3)
Saving the User's Language Preference
180(2)
Understanding Sessions
182(1)
Where to Store the Sessions
183(1)
How to Maintain the Session State
184(1)
Activating Sessions
185(1)
Reading and Writing Sessions
186(1)
Closing Sessions
187(1)
Changing the Session ID
187(2)
Implementing a Custom Session Management
189(6)
Creating a Secured Area with Sessions
195(2)
Creating a Secured Area without Sessions
197(4)
7 Using Files on the Server File System
201(28)
Opening and Closing Files
202(3)
Reading from Files
205(2)
Writing to Files
207(1)
Locking Files
208(1)
Using Relative Paths for File Access
209(1)
Avoiding Security Traps with File Access
210(2)
Working with CSV Data
212(4)
Parsing INI Files
216(1)
Retrieving File Information
217(3)
Copying, Moving, and Deleting Files
220(1)
Browsing the File System
221(1)
Using PHP Streams
222(2)
Using Bzip2 Archives
224(3)
Returning Files with an HTTP Request
227(2)
8 Working with MySQL Databases
229(14)
Connecting to MySQLi
231(2)
Sending SQL to MySQL
233(2)
Prepared Statements with MySQL
235(1)
Retrieving Results of a Query to MySQL
236(3)
Retrieving the Last Inserted ID
239(1)
Using Transactions
240(3)
9 Working with Other Databases
243(36)
Connecting to SQLite
244(2)
Sending SQL to SQLite
246(2)
Retrieving Results of a Query to SQLite
248(2)
Using Prepared Statements with SQLite
250(2)
Connecting to PostgreSQL
252(1)
Sending SQL to PostgreSQL
253(1)
Updating Data in PostgreSQL
254(1)
Retrieving Results of a Query to PostgreSQL
255(2)
Connecting to Oracle
257(1)
Sending SQL to Oracle
258(2)
Retrieving Results of a Query to Oracle
260(2)
Connecting to MSSQL
262(2)
Sending SQL to MSSQL
264(1)
Retrieving Results of a Query to MSSQL
265(1)
Using Prepared Statements with MSSQL
266(2)
Using MSSQL without Windows
268(2)
Connecting to Firebird
270(1)
Sending SQL to Firebird
271(1)
Retrieving Results of a Query to Firebird
272(1)
Connecting via PDO
273(2)
Sending SQL via PDO
275(1)
Retrieving Results of a Query via PDO
276(3)
10 Using XML
279(16)
Parsing XML with SAX
280(2)
Parsing XML with XMLReader
282(2)
Using DOM to Read XML
284(1)
Using DOM to Write XML
285(2)
Using XMLWriter to Write XML
287(1)
Using SimpleXML
288(1)
Using XPath with SimpleXML
289(1)
Transforming XML with XSL
290(1)
Validating XML
291(4)
11 Communicating with Others
295(26)
Connecting with HTTP Servers
295(3)
Connecting with FTP Servers
298(2)
Checking Whether a Server Is Still Reacting
300(4)
Creating a Web Service with NuSOAP
304(2)
Automatically Generating WSDL with NuSOAP
306(2)
Consuming a Web Service with NuSOAP
308(1)
Creating a Web Service with the PHP 5 SOAP Extension
309(3)
Consuming a Web Service with the PHP 5 SOAP Extension
312(1)
Using Ajax
313(3)
Exchanging Data with the Server
316(5)
Index 321
Christian Wenz is a professional phrasemonger, author, trainer, and consultant with a focus on web technologies. He has written or cowritten more than one hundred books. He frequently contributes articles to renowned IT magazines and speaks at developer conferences around the globe. Christian contributes to several PHP libraries and frameworks and other open source software. He holds university degrees in computer sciences and in business informatics and lives and works in Munich, Germany. He also is one of the authors of Zends PHP 5 and PHP 5.3 certifications.