did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781590591871

Advanced Php for Flash

by ; ; ; ; ; ;
  • ISBN13:

    9781590591871

  • ISBN10:

    1590591879

  • Format: Paperback
  • Copyright: 2003-09-01
  • Publisher: Apress
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $37.99 Save up to $26.18
  • Buy New
    $36.85
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

The book takes the reader from being an intermediate to an advanced PHP/Flash developer, and helps them create awesome Flash-based Web applications along the way.

Table of Contents

Foreword 1(2)
1 Introduction 3(12)
The MX connection
4(1)
Chapter specs-appeal
4(7)
Chapter 1-Introduction
4(1)
Chapter 2-Flash MX Essentials
4(1)
Chapter 3-Sessions
5(1)
Chapter 4-File Uploading
6(1)
Chapter 5-Advanced MySQL
6(1)
Chapter 6-Socket Functions
7(1)
Chapter 7-PHP and XML
8(1)
Chapter 8-Ming
9(1)
Case Study 1: Chat Room
10(1)
Case Study 2: Full E-commerce Site
10(1)
We all need somebody
11(4)
Styles you'll come across in the book
13(2)
Flash MX Essentials 15(22)
LoadVars to the rescue
17(7)
Basic LoadVars
17(3)
Error detection
20(4)
Loading JPEG images
24(3)
Loading Sounds
27(2)
SharedObject is your best friend
29(8)
Sessions 37(34)
The "stateless" web
38(4)
Ordering a pizza
38(1)
How sessions work
39(1)
Saving server data
39(1)
Saving client data
40(1)
Session syntax
40(2)
session start()
41(1)
session destroy()
41(1)
session id()
41(1)
boolean session register()
41(1)
boolean session unregister()
42(1)
Shopping cart example
42(27)
MySQL database setup
43(3)
PHP setup
46(12)
classinfo.php
47(1)
startshopping.php
48(1)
clearcart.php
49(1)
shoppingcart.php
50(6)
checkout.php
56(2)
The Flash MX file - ShoppingCart.fla
58(15)
_root
59(2)
CartItem
61(2)
PlusSign
63(2)
MinusSign
65(1)
GarbageCan
66(1)
TotalItem
67(1)
CheckOut
68(1)
All set
68(1)
Moving forward
69(2)
File Uploading 71(40)
HTML
72(1)
Flash
FTP functions used to create Image Viewer
73(1)
File types
74(2)
MIME types
75(1)
Ming
75(1)
Hidden frames
76(3)
Client-side communication
79(4)
JavaScript methods for Flash objects
83(1)
LocalConnection
83(2)
FSCommands
84(1)
Shared Object
85(1)
The Image Viewer
85(2)
Adding the code to ImageViewer
87(3)
Users
90(4)
Feedback
94(6)
FTP access
100(1)
Using PHP for the back-end
101(10)
Advanced MySQL 111(54)
Indexes
112(2)
Joins
114(6)
Inner joins
114(3)
Multi-table inner joins
115(2)
Outer joins
117(1)
Self joins
118(1)
Using joins efficiently
119(1)
Searching
120(6)
SQL pattern matching
120(3)
Regular expressions
123(1)
Full-text searching
123(3)
Date and time functions
126(6)
Common functions
126(2)
Date arithmetic
128(2)
Date and time formatting
130(2)
Building the cookbook
132(33)
Sockets 165(28)
Socket basics
166(2)
fsockopen()
166(1)
pfsockopen()
166(1)
fgets()
167(1)
fread()
167(1)
fgetss()
167(1)
fputs()
168(1)
Feof()
168(1)
Simple WhoIS Flash MX example
168(4)
Whois.php
168(1)
Whois.fla
169(2)
Email primer
171(1)
Sending email with SMTP
171(1)
SMTP response
172(1)
Retrieving email with POP
172(1)
Flash email client
173(9)
EmailClass.php
174(6)
SendEmail.php
180(1)
ReceiveEmail.php
181(1)
EmailClient.fla
182(11)
Setup tab - frame 2
186(1)
Inbox tab -frame 3
187(1)
Receive dialog
188(1)
Compose tab -frame 4
189(5)
Send button
190(1)
ComposeDialog
190(3)
PHP and XML 193(20)
A closer look
194(12)
What can we do with XML?
196(10)
Here's one I made earlier!
198(8)
Mission accomplished!
206(1)
Where do we go from here?
206(7)
Ming 213(42)
Introducing... Ming!
214(1)
Installing Ming
214(7)
Strike one
215(1)
Windows
216(1)
Linux
217(10)
Troubleshooting
220(1)
The cans and canis of Ming
221(1)
Meet the methods
222(1)
Let's get $physical
223(4)
Your Mom
227(28)
guestbook form.swf
229(13)
guestbook.php
242(8)
download.php
250(2)
Running the application
252(3)
Case Study 1: Chat Room 255(68)
A design for life
256(67)
Features
256(1)
Looks are everything
257(2)
Database design rules!
259(3)
User
260(2)
Database table specifications
262(1)
Table: chatUsers
262(1)
Table: chatUserlist
262(1)
Table: chatMessages
262(1)
Flash in the pan
263(36)
Strike up a dialog...or four
269(30)
Server-side shenanigans
299(25)
db.php
301(24)
Improvements?
325
Case Study 2: e-Commerce Site 323(106)
What are we going to build?
323(1)
Administrator site
324(69)
MySQL
324(3)
PHP
327(25)
Before we start:
336(9)
File: adminPDF.php
345(1)
What is PDFLib and what can it do??
345(7)
File: adminPreviewlmage.php
352(7)
File: addAdminUser.php
359(2)
Wrap up
361(1)
Interface
361(31)
Scene: preloader
362(1)
Scene: login
363(2)
What can be done to extend this?
365(1)
Scene: main
366(1)
Scene: categories
367(5)
Previous button
372(8)
Preview Image button
380(7)
Preview Image button
387(4)
Scene: upload
391(1)
Scene: report
391(1)
Scene: error
391(1)
Wrap up
392(1)
The client interface
393(36)
PHP
393(10)
Wrap Up
402(1)
Interface
403(23)
Scene: error
426(1)
Wrap up
426(30)
What can be done to extend the site
427(2)
Readers' Showcase 429(26)
John Lyons - www.flashbuilder.ch/flash.htm
430(1)
Jeremy Thomas - www.variablelimit.com
431(2)
Scott Ysebert - scott.ysebert.com
433(2)
Sam Riggs - www.deadsam.com
435(2)
Geoffrey Rowland and Kelly Sponberg - www.cip.ogp.noaa.gov
437(1)
Josiah J. Williams -www.jjsquared.com
438(2)
Adrian Ng Chee Wei - www.ngarte.com
440(3)
Kevin Menzie / Slice of Lime - www.mobilesnow.com
443(1)
Sukral Helmi - www.webmanultraflash.com & toophat.com.my
444(1)
Mark Edwards - www.4d-enter.com
445(1)
Jacob Bullock -www.kineticz.net
446(1)
Sidney de Koning -www.funky-monkey.nl
447(1)
Benjamin Knigge - www.fxnetworks.com/showsloriginals/the shield
448(1)
Gary Stasiuk - www.praxisinteractive.com
449(2)
James Ellis -www.webgs.com
451(1)
Gregg Vivolo - www.greggv.com
452(1)
Anthony Onumonu - www.clubsyte.com
452(3)
Securing MySQL 455(8)
Root of all evil
455(1)
MySQL built-in Security
456(7)
The verification process
457(1)
Connection level
457(1)
User level (user table)
457(1)
Database level (db table)
457(1)
Table level (tables prie table)
458(1)
Column level (columns priv)
458(1)
Setting permissions
458(1)
The GRANT statement
459(4)
REVOKE
461(2)
Resources 463(6)
Advanced PHP for Flash links
463(1)
Authors' homepages
463(1)
Software homepages
464(1)
Setup tools
464(1)
PHP editors
464(1)
PHP street corners and forums
465(1)
PHP web resources
465(1)
Hosting companies supporting PHP
466(3)
Index 469

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program