Cover image for PHP for Teens.
PHP for Teens.
Title:
PHP for Teens.
Author:
Sethi, Maneesh Singh.
ISBN:
9781598631401
Personal Author:
Physical Description:
1 online resource (268 pages)
Contents:
Contents -- Introduction -- Chapter 1 Welcome to PHP -- Installing PHP on Windows -- Installing the Web Server -- Testing Apache -- Installing PHP -- Testing PHP -- Installing PHP on Macs -- Chapter 2 A Quick HTML Primer -- .htm or .html Extension -- ASCII Format -- Common Tags -- Tag -- Tag -- Text-Formatting Tags -- Miscellaneous Useful Tags -- Chapter 3 Building Your First PHP Program: Setting Up the HTML -- HTML Template -- HTML Form -- Form Elements -- Submit Button -- Adding PHP -- Chapter 4 Writing the PHP in Your First Program -- Variables -- Types -- Inserting -- Rules -- Functions and Parameters -- Predefined Variables and Arrays -- GET Versus POST -- Arrays -- Predefined Variables -- Chapter 5 Constants, Expressions, and Operators -- Constants -- Operators -- Unary -- Binary -- Ternary -- Arithmetic Operators -- Comparison Operators -- Logical Operators -- Other Operators -- Expressions -- Chapter 6 The Style Factor -- Why Style? -- How to Style -- Capitalization -- Underscores -- Comments -- Chapter 7 Program Flow: Control Structures -- Branching Structures -- if -- else -- elseif -- switch -- Loops -- while -- for -- do . . . while -- break and continue -- Chapter 8 Strings -- Making Strings -- Single-Quoted Syntax -- Double-Quoted Syntax -- String Functions -- Chapter 9 Functions -- Designing Your Own Functions -- Dissecting a Function -- Function Code -- Parameter List -- Return Value -- Calling a Function Depending on a Condition -- Chapter 10 Arrays -- Creating an Array -- array() Language Construct -- Reference Items -- Creating Array Elements -- Defining Arrays with PHP -- Skip the Array Key Definition -- Use a Loop -- Working with Arrays -- unset() Function -- foreach Loop -- Chapter 11 Advanced Forms -- Advanced Elements -- Radio Buttons -- Password Fields -- Hidden Fields -- Using PHP and Forms.

Basic Email Commands -- Chapter 12 Cookies -- Creating Cookies -- name -- value -- expire -- path -- domain -- secure -- Common Problems -- Putting a Cookie in Your Site -- Chapter 13 Sessions -- Using Sessions -- Starting a Session -- Desiging a Form Page -- Developing a Basic PHP Page -- PHP Functions for Session Data -- The Errored Pages -- The Fix -- Creating a Web Page Counter -- Developing a Log-In Page -- Cookie Exercise -- Chapter 14 Working with Files -- Allowing File Uploads -- HTML Program -- enctype -- PHP Program -- Loading Files -- Opening a File -- Closing a File -- Writing to Files -- Reading in Files -- fread() -- file() -- Renaming, Copying, and Deleting Files -- copy -- rename -- unlink -- Appendix A: Function List -- Appendix B: Online Resources -- Appendix C: What's on the CD -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- K -- L -- M -- N -- O -- P -- R -- S -- T -- U -- V -- W -- Z.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: