您好,欢迎光临本网站![请登录][注册会员]  
文件名称: php_6_fast_and_easy_web_development.pdf
  所属分类: PHP
  开发工具:
  文件大小: 7mb
  下载次数: 0
  上传时间: 2019-08-18
  提 供 者: drji*****
 详细说明:Appendix CWriting Your Own Functions. . . . . . . . . . . . . . . . . . 487 The Structure of Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488 Returning Values from Functions. . . . . . . . . . . . . . . . . . . . . . . 488 Using Functions in Your Code. . . . . . . . . . . . .COURSE TECHNOLOGY 1 CENGAGE Learning" PHP 6 Fast Easy Web Development o 2008 Course Technology, a part of Cengage Learning Julie Meloni, Matt Telles ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be reproduced, transmitted, stored, or used in any form or by Publisher and general manager, Course any means graphic, electronic, or mechanical, including but not limited to Technology PTR: Stacy L. Hiquet photocopying, recording, scanning, digitizing, taping, Web distribution, information networks, or information storage and retrieval systems Associate Director of Marketing: Sarah Panella except as permitted under Section 1o7 or 108 of the 1976 United States Manager of Editorial Services: Heather Talbot Copyright Act, without the prior written permission of the publisher Marketing Manager: Mark Hughes Acquisitions Editor: Mitzi Koontz For product information and technology assistance, contact us at Cengage Learning Customer Sales Support Center, 1-8o0-354-9706 Project and Copy Editor Marta Justak For permission to use material from this text or product, Technical Reviewer: Jaelle Scheuerman submit all requests online at cengage. com/permissions PtR Editorial Services Coordinator: erin Further permissions questions can be emailed to Johnson permissionrequestcengage.com Interior Layout Tech: Bill Hartman Microsoft, Windows, and Internet Explorer are either registered Cover Designer: Mike Tanamachi trademarks or trademarks of microsoft Corporation in the United States Indexer Larry Sweazy and/or other countries. Netscape is a registered trademark of Netscape Communications Corporation in the U.S. and other countries. PHP is Proofreader: Gene Redding copyrighted by The PHP Group, and is released under the PHP License MySQL is copyrighted by mySQL AB and is released under the GNU General Public License. All other trademarks are the property of their respective owners Library of Congress Control Number 2007938248 SBN-13:978-1-598634716 SBN-1o:1598634712 10:1-598636693 Course Technology Boston MA o2210 Cengage Learning is a leading provider of customized learning solutions with office locations around the globe, including Singapore, the United Kingdom, Australia, Mexico, Brazil, and Japan. Locate your local office at nternational cengage. com/region Cengage Learning products are represented in Canada by Nelson Education Ltd For your lifelong learning solutions, visit courseptr com Visitourcorporatewebsiteatcengage.com Printed in the United states of america 123456711100908 Acknowledgments Thanks as always to the PHP Group, Zend Technologies, the Apache Software Foundation and mysol ab for creating and maintaining such wonderful and accessible products for all users Thanks to every single PHP user and developer, because without you I wouldn't have anything to write about Great thanks to the all the editors who worked with me on all the editions of this book! Enormous thanks to everyone at i2 i Interactive, for their never-ending support and encouragement Matt would like to thank his wonderful editor, Marta, and phenomenal other half, Teresa, for getting him through this book About the authors Julie Meloni is the technical director for i2i Interactive, a multimedia company located in Los Altos, CA. She's been developing Web-based applications since the Web first saw the light of day and remembers the excitement surrounding the first GUI Web browser She is the author of several books and articles on Web-based programming languages and database topics, and you can find translations of her work in several languages, including Chinese, Italian, Portuguese, Polish, and even Serbian Matt Telles is a senior consultant working in the software development world. He lives, breathes, and works with anything anyone pays him to while pining away for his beloved DEC-1091 Contents Introduction ...........,, xix PART I GETTING STARTED Chapter 1 Installing and Configuring MySQL 3 arious MySQL Distributions 4 Installing MysQL on Windows g esting Your mysQl Installation 12 stalling MysQL for Linux Testing your my sQl Installation .20 Chapter 2 Installing apache.............. 25 Installing al g pache Tor win d OwS ,,26 Configuring Apache on Windows 29 Starting and connecting to apache Installing apache for linux/UNIX.............. 32 Configuring Apache on Linux/UNIX 34 Starting and Connecting to Apache L vifi CONTENTS Chapter 3 Installing PHP................39 Installing PHP for Windows 40 Configuring Apache to Use PHP. Testing the PHP Installation 43 Installing PHP for Linux/UNIX 鲁非非 ,,,,,45 Configuring Apache to Use PHP. 46 Testing the PHP Installation 47 PART II THE ABSOLUTE BASICS OF CODING IN PHP...49 Chapter 4 Mixing PHP and HTML. 51 How PhP Is Parsed 52 PHP Start and End Tags ,,,,,53 Code Cohabitation .55 The Importance of the Instruction Terminator∴∴∴∴.57 Escaping your code 60 Commenting Your Code· ,,,,,,62 Chapter 5 Introducing Variables and Operators 。65 What's a Variable? .66 Naming Your Variables 66 PHP Variable and Value Types ,,,,.,67 What's an Operator? Assignment Operators∴ 74 Arithmetic Operators................76 Comparison Operators ,,79 Logical operators 82 CONTENTS Chapter 6 Using PHP Variables.............85 Getting Variables from Forms 86 Creating a calculation Form ............................86 Creating the Calculation Scrip 89 Submitting Your Form and Getting Results Http Environment Variables..............................92 Retrieving and Using REMOTE_ADDR 93 Retrieving and Using Http_uSer_agEnt 鲁非非 PART I START WITH THE SIMPLE STUFF Chapter 7 Displaying Dynamic Content 99 Displaying Browser-Specific HTML∴.∴∴∴…∴……100 Displaying platform-Specific HTML 103 Working with String Functions ,,107 Creating an input form ,,107 Creating a Script to Display Form values..∴…∴.109 Submitting Your Form and Getting Results 111 Redirecting to a New Location ,,,,113 Creating a redirection Form ...........................113 Creating the Redirection Script and Testing It 115 Chapter 8 Sending E-Mail 117 Using an SMTP Server SMTP-Related Changes in php. ini...........119 A Simple Feedback Form 120 Creating the Feedback Form..…………120 Creating a Script to Mail Your Form 122 Submitting Your Form and Getting Results 125
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 输入关键字,在本站1000多万海量源码库中尽情搜索: