1. Trang chủ
  2. » Công Nghệ Thông Tin

Beginning PHP4 pptx

50 132 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 50
Dung lượng 0,95 MB

Nội dung

[...]... can run most PHP4 code, without alteration, on computers running many different operating systems A PHP4 script that runs on Linux will generally run on Windows as well ❑ HTML-embedded PHP4 code is written in files containing a mixture of PHP instructions and HTML code ❑ Server-side The PHP4 programs we write are run on a server – specifically, a web server ❑ A web scripting language We run PHP4 programs... techniques along the way, and we'll hopefully give you some ideas that you can incorporate into your own applications Why PHP4? One of the best things about PHP4 is that it is supported by a large number of Internet Service Providers (ISPs), which means that once you've written an application in PHP4, you can easily put it on the Web for anyone to use You can find a list of ISPs who can help you with hosting... the User – HTTP, HTML, PHP and Interactivity Native Sessions in PHP4 218 221 224 227 228 228 228 228 229 229 232 232 235 235 236 237 237 238 239 239 240 241 241 242 243 243 243 244 255 256 257 257 257 258 258 261 262 262 264 'Do It Yourself' Persistence 265 Hidden Form Fields Revisited Query Strings Cookies 265 272 280 Sessions 287 vii PHP4 Sessions Summary viii 288 292 Chapter 9: Objects 295 Object-Oriented... and that's where PHP4 comes in So what sort of things can we do with it? Well, we can program sites that will: ❑ Present data from a wide variety of different sources, such as databases, or files ❑ Incorporate interactive elements, such as search facilities, message boards, and straw-polls ❑ Allow the user to perform actions, such as sending e-mail, or buying something In other words, PHP4 can be used... administrators to then send out e-mails to the subscribers So, PHP4 can be used for a diverse range of applications, from utilities like the text editor, to powerful web sites such as the shopping mall and directory examples In this book, we're going to try and equip you with the necessary knowledge to build any kind of web site you want using PHP4 You'll learn some useful coding techniques along the way,... 755 xix xx Introduction PHP4 is the latest incarnation of PHP – the "PHP Hypertext Preprocessor" It's a programming language for building dynamic, interactive web sites, originally devised by Rasmus Lerdorf way back in 1994 Since then it's been through a great many changes, and has been adopted by web programmers all around the world So what exactly is it? In technical terms, PHP4 is a cross-platform,... -+ What Do I Need To Use This Book? We will be focusing on using PHP4 on Windows and UNIX platforms As we shall see in the first chapter, we can install it on Windows 95 and 98, and NT and 2000 It will also run on virtually any flavor of UNIX, although our instructions only detail installation from RPM files As well as the actual PHP4 libraries, you'll need a text editor to create and edit your scripts... the book on a single machine, acting as both client and server 3 PHP4 Resources Your first stop for information should be the official PHP site, which you can find at www.php.net This not only features news, downloads, and complete documentation (including user feedback), but it also features a complete searchable index of all the above PHP4 is based on the Zend scripting engine, owned by Zend Technologies,... the above PHP4 is based on the Zend scripting engine, owned by Zend Technologies, whose site can be found at www.zend.com Here you'll find information specific to PHP4, as well as articles, case studies, and news about the different uses PHP4 is currently being put to in business environments Another very useful resource is the www.phpbuilder.com site, a community-driven forum for PHP programmers It's... can get to any book's page by clicking on Support from the top navigation bar Halfway down the main support page is a drop down box called Title Support Simply scroll down the list until you see Beginning PHP4 Select it and then hit Errata This will take you to the errata page for the book Select the criteria by which you want to view the errata, and click the Apply criteria button This will provide . Installing PHP4 on Windows 95 and 98 13 Obtaining PWS 13 Setting Up PWS 15 Installing PHP4 Alongside PWS 17 Installing PHP4 on Windows NT and 2000 19 Installing PHP4 Alongside IIS 24 Installing PHP4. alt="" Beginning PHP4 Wankyu Choi Allan Kent Chris Lea Ganesh Prasad Chris Ullman with Jon Blank Sean Cazzell Wrox Press Ltd.  Beginning PHP4 . computer can stand. Table of Contents Introduction 1 Why PHP4? 2 The Prompt 2 What Do I Need To Use This Book? 3 PHP4 Resources 4 Conventions 4 Downloading the Source Code 5 Support

Ngày đăng: 27/06/2014, 12:20