CITATION

Nixon, Robin. Plug-In PHP: 100 Power Solutions. US: McGraw-Hill Osborne Media, 2010.

Plug-In PHP: 100 Power Solutions

Authors:

Published:  February 2010

eISBN: 9780071666602 0071666605 | ISBN: 9780071666596
  • Contents
  • Acknowledgments
  • Introduction
  • 1 Building a Development Server
  • Windows XP, Windows Vista, and Windows 7
  • Reinstalling Zend Server CE
  • Upgrading Zend Server CE
  • Windows Security Alerts
  • After Installation
  • Uninstalling
  • Document Root
  • Ubuntu and Debian Linux
  • Uninstalling
  • After Installation
  • Document Root
  • Fedora, RHEL, and CentOS Linux
  • Installing MySQL
  • Uninstalling
  • Document Root
  • Other Versions of Linux
  • Installing MySQL
  • Uninstalling
  • Document Root
  • Mac OS X 10.4 Plus on Intel Chips
  • Document Root
  • Uninstalling
  • Mac OS X 10.3
  • Document Root
  • Configuring Error Handling in Zend Server CE
  • And Now You’re Set to Go
  • 2 Using the Plug-ins
  • Using include
  • include_once
  • Using require
  • require_once
  • Include Scope
  • Correctly Inserting PHP code
  • Inserting HTML
  • Including PHP Files from Other Servers
  • 3 Text Processing
  • Plug-in 1: Wrap Text
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 2: Caps Control
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 3: Friendly Text
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 4: Strip Whitespace
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 5: Word Selector
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 6: Count Tail
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 7: Text Truncate
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 8: Spell Check
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 9: Remove Accents
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 10: Shorten Text
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 4 Image Handling
  • Installing the GD Library
  • Plug-in 11: Upload File
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 12: Resize Image
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 13: Make Thumbnail
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 14: Image Alter
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 15: Image Crop
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 16: Image Enlarge
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 17: Image Display
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 18: Image Convert
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 19: Gif Text
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 20: Image Watermark
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 5 Content Management
  • Plug-in 21: Relative to Absolute URL
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 22: Get Links from URL
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 23: Check Links
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 24: Directory List
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 25: Query Highlight
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 26: Rolling Copyright
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 27: Embed YouTube Video
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 28: Create List
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 29: Hit Counter
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 30: Referer Log
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 6 Forms and User Input
  • Plug-in 31: Evaluate Expression
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 32: Validate Credit Card
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 33: Create Captcha
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 34: Check Captcha
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 35: Validate Text
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 36: Validate E-mail
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 37: Spam Catch
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 38: Send E-mail
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 39: BB Code
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 40: Pound Code
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 7 The Internet
  • Plug-in 41: Check Links
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 42: Get Title from URL
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 43: Auto Back Links
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 44: Create Short URL
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 45: Use Short URL
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 46: Simple Web Proxy
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 47: Page Updated?
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 48: HTML To RSS
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 49: RSS to HTML
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 50: HTML to Mobile
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 8 Chat and Messaging
  • Plug-in 51: Users Online
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 52: Post to Guestbook
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 53: Get Guestbook
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 54: Post to Chat
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 55: View Chat
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 56: Send Tweet
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 57: Send Direct Tweet
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 58: Get Tweets
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 59: Replace Smileys
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 60: Replace SMS Talk
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 9 MySQL, Sessions, and Cookies
  • Plug-in 61: Add User to DB
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 62: Get User from DB
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 63: Verify User in DB
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 64: Sanitize String and MySQL Sanitize String
  • About the Plug-ins
  • Variables, Arrays, and Functions
  • How They Work
  • How to Use Them
  • The Plug-ins
  • Plug-in 65: Create Session
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 66: Open Session
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 67: Close Session
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 68: Secure Session
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 69: Manage Cookie
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 70: Block User by Cookie
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 10 APIs, RSS, and XML
  • Plug-in 71: Create Google Chart
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 72: Curl Get Contents
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 73: Fetch Wiki Page
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 74: Fetch Flickr Stream
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 75: Get Yahoo! Answers
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 76: Search Yahoo!
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 77: Get Yahoo! Stock News
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 78: Get Yahoo! News
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 79: Search Google Books
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 80: Convert Currency
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 11 Incorporating JavaScript
  • Plug-in 81: Ajax Request
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 82: Post Ajax Request
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 83: Get Ajax Request
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 84: Protect E-mail
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 85: Toggle Text
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 86: Status Message
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 87: Slide Show
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 88: Input Prompt
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 89: Words from Root
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 90: Predict Word
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • 12 Diverse Solutions
  • Plug-in 91: Get Country by IP
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How it Works
  • How to Use It
  • The Plug-in
  • Plug-in 92: Bypass Captcha
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 93: Get Book from ISBN
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 94: Get Amazon Sales Rank
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 95: Pattern Match Word
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 96: Suggest Spelling
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 97: Google Translate
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 98: Corner Gif
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 99: Rounded Table
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Plug-in 100: Display Bing Map
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How to Use It
  • The Plug-in
  • Index