Oops! Looks like we're having trouble connecting to our server.
Refresh your browser window to try again.
About this product
Product Identifiers
PublisherSAMS
ISBN-100672317842
ISBN-139780672317842
eBay Product ID (ePID)127341361
Product Key Features
Number of Pages896 Pages
LanguageEnglish
Publication NamePhp and Mysql Web Development
SubjectProgramming Languages / Php, Web / General, Programming Languages / Sql, Web / Design
Publication Year2001
TypeTextbook
AuthorLuke Welling, Laura Thomson
Subject AreaComputers
FormatCD-ROM / Trade Paperback
Dimensions
Item Height1.9 in
Item Weight51.5 Oz
Item Length9.1 in
Item Width7.3 in
Additional Product Features
Intended AudienceScholarly & Professional
LCCN99-064841
Dewey Edition23
IllustratedYes
Dewey Decimal005.2762
Table Of ContentI. USING PHP. PHP Crash Course. Using PHP. Sample Application: Bob's Auto Parts. The Order Form. Processing the Form. Embedding PHP in HTML. Using PHP Tags. PHP Tag Styles. PHP Statements. Whitespace. Comments. Adding Dynamic Content. Calling Functions. The date() Function. Accessing Form Variables. Form Variables. String Concatenation. Variables and Literals. Identifiers. User-Declared Variables. Assigning Values to Variables. Variable Types. PHP's Data Types. Type Strength. Type Casting. Variable Variables. Constants. Variable Scope. Operators. Arithmetic Operators. String Operators. Assignment Operators. Comparison Operators. Logical Operators. Bitwise Operators. Other Operators. Using Operators: Working Out the Form Totals. Precedence and Associativity: Evaluating Expressions. Variable Functions. Testing and Setting Variable Types. Testing Variable Status. Reinterpreting Variables. Control Structures. Making Decisions with Conditionals. if Statements. Code Blocks. A Side Note: Indenting Your Code. else Statements. elseif Statements. switch Statements. Comparing the Different Conditionals. Iteration: Repeating Actions. while Loops. for Loops. do..while Loops. Breaking Out of a Control Structure or Script. Next: Saving the Customer's Order. 2. Storing and Retrieving Data. Saving Data for Later. Storing and Retrieving Bob's Orders. Overview of File Processing. Opening a File. File Modes. Using fopen() to Open a File. Opening Files for FTP or HTTP. Problems Opening Files. Writing to a File. Parameters for fwrite(). File Formats. Closing a File. Reading from a File. Opening a File for Reading: fopen(). Knowing When to Stop: feof(). Reading a Line at a Time: fgets(), fgetss(), and fgetcsv(). Reading the Whole File: readfile(), fpassthru(), file(). Reading a Character: fgetc(). Reading an Arbitrary Length: fread(). Other Useful File Functions. Checking Whether a File Is There: file_exists(). Knowing How Big a File Is: filesize(). Deleting a File: unlink(). Navigating Inside a File: rewind(), fseek(), and ftell(). File Locking. Doing It a Better Way: Database Management Systems. Problems with Using Flat Files. How RDBMSs Solve These Problems. Further Reading. Next. 3. Using Arrays. What Is an Array? Numerically Indexed Arrays. Initializing Numerically Indexed Arrays. Accessing Array Contents. Using Loops to Access the Array. Associative Arrays. Initializing an Associative Array. Accessing the Array Elements. Using Loops with each() and list(). Multidimensional Arrays. Sorting Arrays. Using sort(). Using asort() and ksort() to Sort Associative Arrays. Sorting in Reverse. Sorting Multidimensional Arrays. User Defined Sorts. Reverse User Sorts. Reordering Arrays. Using shuffle(). Using array_reverse(). Loading Arrays from Files. Other Array Manipulations. Navigating Within an Array: each, current(), reset(), end(), next(), pos(), and prev(). Applying Any Function to Each Element in an Array: array_walk(). Counting Elements in an Array: count(), sizeof(), and array_count_values(). Converting Arrays to Scalar Variables: extract(). Further Reading. Next. 4. String Manipulation and Regular Expressions. Example Application: Smart Form Mail. Formatting Strings. Trimming Strings: chop(), ltrim(), and trim(). Formatting Strings for Presentation. Formatting Strings for Storage: AddSlashes() and StripSlashes(). Joining and Splitting Strings wit
SynopsisPHP & MySQL Web Development teaches the reader to develop dynamic, secure e-commerce Web sites and Web applications. The book shows how to integrate and implement these technologies by following real-world examples and working sample projects. It also covers the related technologies needed to build a commercial Web site such as SSL, shopping carts, and payment systems. The CD includes a Linux distribution, MySQL, PHP4 and utilities for the projects and code listings., This volume teaches the reader to develop dynamic, secure e-commerce Web sites and Web applications. PHP is a server side scripting language designed for web development. MySQL is a relational database management system. This book shows how to integrate these Open Source technologies, following real-world examples and working sample projects. It also covers the related technologies needed to build a commercial Web site such as SSL, shopping carts, and payment systems. The CD includes a Linux distribution, MySQL, PHP4 and code listings for the projects., PHP & MySQL Web Development teaches the reader to develop dynamic, secure e-commerce Web sites and Web applications. The book shows how to integrate and implement these technologies by following real-world examples and working sample projects.