Oracle B25-317-01 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel de base de données Oracle B25-317-01. Oracle B25-317-01 User's Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - 10g Release 2 (10.2)

Oracle Database Express Edition®2 Day Plus PHP Developer Guide 10g Release 2 (10.2) B25317-01September 2005

Page 2

Resources1-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft

Page 3 - Contents

Beta Draft Getting Started 2-12Getting StartedThis chapter explains how to install and test

Page 4 - 7 Loading Images

Testing the Oracle Database XE Installation2-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Drafthttp://www

Page 5 - Preface

Testing the Apache InstallationBeta Draft Getting Started 2-3Testing the Apache Installation1. Start your web brow

Page 6 - Conventions

Setting Up Zend Core for Oracle2-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft # the following li

Page 7 - Zend Core for Oracle

Setting Up Zend Core for OracleBeta Draft Getting Started 2-5Installing Zend Core for Oracle on Linux1. To extract

Page 8

Setting Up Zend Core for Oracle2-6 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft8.When prompted to &qu

Page 9

Testing the Zend Core for Oracle InstallationBeta Draft Getting Started 2-74.In the PHP tab page, which is selecte

Page 10 - Resources

Testing the Zend Core for Oracle Installation2-8 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft

Page 11 - Getting Started

Beta Draft Getting Connected 3-13Getting ConnectedIn this chapter you create HR application

Page 12

Oracle Database Express Edition 2 Day Plus PHP Developer Guide, 10g Release 2 (10.2) B25317-01Copyright © 2005 Oracle. All rights reserved.Contribut

Page 13

Building the Departments Page3-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft $title = htmlentities(

Page 14

Building the Departments PageBeta Draft Getting Connected 3-3{ border-bottom: solid #334B66 4px; font-size: 160%;

Page 15

Connecting to the Database3-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta DraftConnecting to the Database1

Page 16

Connecting to the DatabaseBeta Draft Getting Connected 3-5The oci_parse() function prepares the query for executio

Page 17

Disconnecting from the Database3-6 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draftopen simultaneously. T

Page 18

Beta Draft Querying Data 4-14Querying DataIn this chapter you extend the Anyco HR applicati

Page 19 - Getting Connected

Centralizing the Database Application Logic4-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draftfunction d

Page 20 - Building the Departments Page

Centralizing the Database Application LogicBeta Draft Querying Data 4-3Q The null in the fourth parameter for the

Page 21

Writing Queries with Bind Variables4-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft }}Remember the E

Page 22 - Connecting to the Database

Writing Queries with Bind VariablesBeta Draft Querying Data 4-5 FROM departments WHERE department_id =

Page 23 - Other Ways to Connect

Beta Draft iii Contents Preface...

Page 24

Navigating Through Database Records4-6 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft if (!$stid) {

Page 25 - Querying Data

Navigating Through Database RecordsBeta Draft Querying Data 4-7Q Detecting if the HTTP request for the page was po

Page 26

Navigating Through Database Records4-8 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft isset($_POST

Page 27

Navigating Through Database RecordsBeta Draft Querying Data 4-9$posturl parameter to set the HTML form's acti

Page 28

Extending the Basic Departments Form4-10 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft5.To navigate to

Page 29

Extending the Basic Departments FormBeta Draft Querying Data 4-11The additional information is obtained by modifyi

Page 30

Building the Basic Employee Form4-12 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft AND l.country_id

Page 31

Building the Basic Employee FormBeta Draft Querying Data 4-13require('anyco_ui.inc');session_start();con

Page 32

Building the Basic Employee Form4-14 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft

Page 33

Beta Draft Updating Data 5-15Updating DataIn this chapter you extend the Anyco HR applicati

Page 34

iv Beta DraftExtending the Basic Departments Form...

Page 35

Extending the Basic Employee Form5-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draftelse { construct_em

Page 36

Extending the Basic Employee FormBeta Draft Updating Data 5-3function construct_employees(){ $query = "SELE

Page 37

Extending the Basic Employee Form5-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft FROM employee

Page 38

Extending the Basic Employee FormBeta Draft Updating Data 5-5OCI_FETCHSTATEMENT_BY_ROW, in the oci_fetch_all() cal

Page 39 - Updating Data

Extending the Basic Employee Form5-6 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft echo '<p

Page 40

Extending the Basic Employee FormBeta Draft Updating Data 5-7 <td>Department ID</td> <td&

Page 41

Extending the Basic Employee Form5-8 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft $lnm = htmlentit

Page 42

Extending the Basic Employee FormBeta Draft Updating Data 5-9Scroll to the bottom of the Employees page to view th

Page 43

Extending the Basic Employee Form5-10 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta DraftClick Save.18. When

Page 44

Combining Departments and EmployeesBeta Draft Updating Data 5-1121.Successfully updating the employee causes the E

Page 45

Beta Draft v PrefaceThe Oracle Database Express Edition 2 Day Plus PHP Dev

Page 46

Combining Departments and Employees5-12 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft subst

Page 47

Combining Departments and EmployeesBeta Draft Updating Data 5-13 function construct_insert_emp() { $deptid

Page 48

Adding Error Recovery5-14 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft <input type="submit

Page 49

Adding Error RecoveryBeta Draft Updating Data 5-15Most production systems would display_errors configuration optio

Page 50

Adding Error Recovery5-16 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft $bind

Page 51

Adding Error RecoveryBeta Draft Updating Data 5-17 AND l.country_id = c.country_id GROUP BY

Page 52 - Adding Error Recovery

Adding Error Recovery5-18 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft array_push($bindargs, a

Page 53

Adding Error RecoveryBeta Draft Updating Data 5-19 handle_error('Connect Error', $err); }

Page 54

Adding Error Recovery5-20 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft } } }13. Edit a

Page 55

Adding Error RecoveryBeta Draft Updating Data 5-21 handle_error("Error deleting employee $empid&qu

Page 56

vi Beta DraftAccessibility of Links to External Web Sites in DocumentationThis documen

Page 57

Further Error Handling5-22 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft18.Click Next> to navigate

Page 58

Further Error HandlingBeta Draft Updating Data 5-234.In the Employees page, click Insert new employee.5. In the In

Page 59

Further Error Handling5-24 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft

Page 60 - Further Error Handling

Beta Draft Executing Stored Procedures and Functions 6-16Executing Stored Procedures and Fu

Page 61

Using PL/SQL to Capture Business Logic6-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft4.In the SQL Co

Page 62

Using PL/SQL to Capture Business LogicBeta Draft Executing Stored Procedures and Functions 6-37.In the Oracle Data

Page 63

Using PL/SQL to Capture Business Logic6-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta DraftIn the results

Page 64

Using PL/SQL Ref Cursors to Return Result SetsBeta Draft Executing Stored Procedures and Functions 6-5 </tr&g

Page 65

Using PL/SQL Ref Cursors to Return Result Sets6-6 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft1.In th

Page 66

Using PL/SQL Ref Cursors to Return Result SetsBeta Draft Executing Stored Procedures and Functions 6-7In the Resul

Page 67

Beta Draft Introducing PHP with Oracle Database XE 1-11Introducing PHP with Oracle Database

Page 68

Using PL/SQL Ref Cursors to Return Result Sets6-8 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft i

Page 69

Using PL/SQL Ref Cursors to Return Result SetsBeta Draft Executing Stored Procedures and Functions 6-97.In the Mar

Page 70

Using PL/SQL Ref Cursors to Return Result Sets6-10 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft

Page 71 - Logout link

Beta Draft Loading Images 7-17Loading ImagesThis chapter shows you how to change the applic

Page 72

Using Oracle LOBs to Store and Load Employee Images7-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft5.

Page 73 - Loading Images

Using Oracle LOBs to Store and Load Employee ImagesBeta Draft Loading Images 7-3 <th>Commission<br>

Page 74

Using Oracle LOBs to Store and Load Employee Images7-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft

Page 75

Using Oracle LOBs to Store and Load Employee ImagesBeta Draft Loading Images 7-5 if (!$r) { $e = db_er

Page 76

Using Oracle LOBs to Store and Load Employee Images7-6 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft14

Page 77

Using Oracle LOBs to Store and Load Employee ImagesBeta Draft Loading Images 7-719.In the File Upload window, brow

Page 78

Overview of the Sample Application1-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft6.Uploads and displ

Page 79

Resizing Images7-8 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta DraftOn success, the Employees page is disp

Page 80 - Resizing Images

Resizing ImagesBeta Draft Loading Images 7-95.In the Extension sub-tab page, expand the Zend Core Extensions tree

Page 81

Resizing Images7-10 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft12.In the Employees page, to insert a

Page 82

Resizing ImagesBeta Draft Loading Images 7-1115.In the Insert New Image page, click Save:The Employees page shows

Page 83

Resizing Images7-12 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Draft

Page 84

Beta Draft Building Global Applications 8-18Building Global ApplicationsThis chapter discus

Page 85 - Building Global Applications

String Manipulation8-2 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta DraftThe language and territory setting

Page 86 - String Manipulation

Developing Locale AwarenessBeta Draft Building Global Applications 8-3Determining User's LocaleIn a global en

Page 87 - Developing Locale Awareness

Encoding HTML Pages8-4 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta DraftEncoding HTML PagesThe encoding of

Page 88 - Encoding HTML Pages

Presenting Data following User's Locale ConventionBeta Draft Building Global Applications 8-5This setting doe

Page 89 - Data from the Database

ResourcesBeta Draft Introducing PHP with Oracle Database XE 1-3The code for each chapter builds on the files compl

Page 90 - Oracle Number Formats

Presenting Data following User's Locale Convention8-6 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Dra

Page 91 - Oracle Linguistic Sorts

Presenting Data following User's Locale ConventionBeta Draft Building Global Applications 8-7 EMPID EmpNa

Page 92 - Oracle Error Messages

Presenting Data following User's Locale Convention8-8 Oracle Database Express Edition 2 Day Plus PHP Developer Guide Beta Dra

Page 93

Beta Draft Index-1 IndexSymbols$HOME/public_html, 1-3AAnyCo Corptutorial application,

Page 94

Index-2 Beta Draftprerequisites, 2-1testing availability, 2-2PPHP, 1-1creating fil

Commentaires sur ces manuels

Pas de commentaire