Teach Yourself PHP in 10 Minutes [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Teach Yourself PHP in 10 Minutes [Electronic resources] - نسخه متنی

Chris Newman

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

Table of Contents

SAMS Teach Yourself PHP in 10 Minutes

By
Chris Newman

Publisher: Sams Publishing

Pub Date: March 29, 2005

ISBN: 0-672-32762-7

Pages: 264

Copyright

About the Author

We Want to Hear from You!

Reader Services

Introduction: Welcome to PHP

Who This Book Is For

How This Book Is Organized

Versions of Software Covered

Conventions Used in This Book


Lesson 1.
Getting to Know PHP

PHP Basics

Your First Script

Summary


Lesson 2.
Variables

Understanding Variables

Data Types

Summary


Lesson 3.
Flow Control

Conditional Statements

Loops

Summary


Lesson 4.
Functions

Using Functions

Arguments and Return Values

Using Library Files

Summary


Lesson 5.
Working with Numbers

Arithmetic

Numeric Data Types

Numeric Functions

Summary


Lesson 6.
Working with Strings

Anatomy of a String

Formatting Strings

String Functions

Summary


Lesson 7.
Working with Arrays

What Is an Array?

Array Functions

Multidimensional Arrays

Summary


Lesson 8.
Regular Expressions

Introducing Regular Expressions

Using ereg

Summary


Lesson 9.
Working with Dates and Times

Date Formats

Working with Timestamps

Summary


Lesson 10.
Using Classes

Object-Oriented PHP

What Is a Class?

Creating and Using Objects

Summary


Lesson 11.
Processing HTML Forms

Submitting a Form to PHP

Processing a Form with PHP

Creating a Form Mail Script

Summary


Lesson 12.
Generating Dynamic HTML

Setting Default Values

Creating Form Elements

Summary


Lesson 13.
Form Validation

Enforcing Required Fields

Displaying Validation Warnings

Enforcing Data Rules

Highlighting Fields That Require Attention

Summary


Lesson 14.
Cookies and Sessions

Cookies

Sessions

Summary


Lesson 15.
User Authentication

Types of Authentication

Building an Authentication System

Summary


Lesson 16.
Communicating with the Web Server

HTTP Headers

Server Environment Variables

Summary


Lesson 17.
Filesystem Access

Managing Files

Reading and Writing Files

Summary


Lesson 18.
Host Program Execution

Executing Host Programs

The Host Environment

Security Considerations

Summary


Lesson 19.
Using a MySQL Database

Using MySQL

Executing SQL Statements

Debugging SQL

Summary


Lesson 20.
Database Abstraction

The PEAR DB Class

Database Portability Issues

Summary


Lesson 21.
Running PHP on the Command Line

The Command-Line Environment

Writing Scripts for the Command Line

Summary


Lesson 22.
Error Handling

Error Reporting

Summary


Lesson 23.
PHP Configuration

Configuration Settings

Configuration Directives

Loadable Modules

Summary


Lesson 24.
PHP Security

Safe Mode

Other Security Features

Summary


Lesson 25.
Using PEAR

Introducing PEAR

Using PEAR

Summary


Appendix A.
Installing PHP

Linux/Unix Installation

Windows Installation

Troubleshooting

/ 126