Your SlideShare is downloading. ×
0
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Download It
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Download It

791

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
791
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
26
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Quick and Dirty Intro to PHP By David Choffnes (content shamelessly ripped from the manual)
  • 2. What is PHP? <ul><li>PHP (recursive acronym for &quot;PHP: Hypertext Preprocessor&quot;) is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. </li></ul><ul><ul><li>Write an HTML script with some embedded code to do something </li></ul></ul><ul><ul><li>Code is executed on the server. </li></ul></ul>
  • 3. What is PHP? <ul><li>An example: </li></ul><ul><li>Example 1-1. An introductory example </li></ul><ul><ul><li><html> </li></ul></ul><ul><ul><li><head> </li></ul></ul><ul><ul><li><title>Example</title> </li></ul></ul><ul><ul><li></head> </li></ul></ul><ul><ul><li><body> </li></ul></ul><ul><ul><li><?php </li></ul></ul><ul><ul><li> echo &quot;Hi, I’m a PHP script!&quot;; </li></ul></ul><ul><ul><li>?> </li></ul></ul><ul><ul><li></body> </li></ul></ul><ul><ul><li></html> </li></ul></ul>
  • 4. Ridiculous DB support (and more) <ul><li>Writing a database-enabled web page is incredibly simple. The following databases are currentlysupported: </li></ul><ul><ul><li>Adabas D, Ingres, Oracle (OCI7 and OCI8), dBase, InterBase, Ovrimos, Empress, FrontBase, PostgreSQL, FilePro (read-only), mSQL, Solid Hyperwave, Direct MS-SQL, Sybase, IBM DB2, MySQL, Velocis, Informix, ODBC, Unix dbm </li></ul></ul><ul><li>DBX database abstraction extension </li></ul><ul><ul><li>allows you to transparently use any database </li></ul></ul><ul><li>Supports ODBC, the Open Database Connection standard, </li></ul><ul><li>Support for talking to other services using protocols such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on Windows) and countless others. </li></ul>
  • 5. Basic syntax <ul><li>Escaping from HTML </li></ul><ul><ul><li>Example 5-1. Ways of escaping from HTML </li></ul></ul><ul><ul><li>1. <? echo (&quot;this is the simplest, an SGML processing instruction &quot;); ?> </li></ul></ul><ul><ul><li><?= expression ?> This is a shortcut for &quot;<? echo expression ?>&quot; </li></ul></ul><ul><ul><li>2. <?php echo(&quot;if you want to serve XHTML or XML documents, do like this &quot;); ?> </li></ul></ul><ul><ul><li>3. <script language=&quot;php&quot;> </li></ul></ul><ul><ul><li>echo (&quot;some editors (like FrontPage) don’t like processing instructions&quot;); </li></ul></ul><ul><ul><li></script> </li></ul></ul><ul><ul><li>4. <% echo (&quot;You may optionally use ASP-style tags&quot;); %> </li></ul></ul><ul><ul><li><%= $variable; # This is a shortcut for &quot;<% echo . . .&quot; %> </li></ul></ul>
  • 6. Basic Syntax <ul><li>Example 5-2. Advanced escaping </li></ul><ul><li><?php </li></ul><ul><li>if ($expression) { </li></ul><ul><li>?> </li></ul><ul><li><strong>This is true.</strong> </li></ul><ul><li><?php </li></ul><ul><li>} else { </li></ul><ul><li>?> </li></ul><ul><li><strong>This is false.</strong> </li></ul><ul><li><?php </li></ul><ul><li>} </li></ul><ul><li>?> </li></ul>
  • 7. Instruction Separation <ul><li>Instructions are separated the same as in C or Perl - terminate each statement with a semicolon. </li></ul><ul><li>The closing tag (?>) also implies the end of the statement, so the following are equivalent: </li></ul><ul><ul><ul><li><?php </li></ul></ul></ul><ul><ul><ul><li>echo &quot;This is a test&quot;; </li></ul></ul></ul><ul><ul><ul><li>?> </li></ul></ul></ul><ul><ul><ul><li><?php echo &quot;This is a test&quot; ?> </li></ul></ul></ul>
  • 8. Comments <ul><li>PHP supports C, C++ and Unix shell style comments </li></ul><ul><ul><li><?php </li></ul></ul><ul><ul><li>echo &quot;This is a test&quot;; // This is a one-line c++ style comment </li></ul></ul><ul><ul><li>/* This is a multi line comment </li></ul></ul><ul><ul><li>yet another line of comment */ </li></ul></ul><ul><ul><li>echo &quot;This is yet another test&quot;; </li></ul></ul><ul><ul><li>echo &quot;One Final Test&quot;; # This is shell-style style comment </li></ul></ul><ul><ul><li>?> </li></ul></ul>
  • 9. Types <ul><li>PHP supports eight primitive types. </li></ul><ul><ul><li>Four scalar types: </li></ul></ul><ul><ul><ul><li>boolean </li></ul></ul></ul><ul><ul><ul><li>integer </li></ul></ul></ul><ul><ul><ul><li>floating-point number (float) </li></ul></ul></ul><ul><ul><ul><li>string </li></ul></ul></ul><ul><ul><li>Two compound types: </li></ul></ul><ul><ul><ul><li>array </li></ul></ul></ul><ul><ul><ul><li>object </li></ul></ul></ul><ul><ul><li>And finally two special types: </li></ul></ul><ul><ul><ul><li>resource </li></ul></ul></ul><ul><ul><ul><li>NULL </li></ul></ul></ul>
  • 10. Scalars <ul><li>Very simple: </li></ul><ul><ul><li>$foo = true; (boolean) </li></ul></ul><ul><ul><li>$foo = 20; (integer) </li></ul></ul><ul><ul><li>$foo = 3.1415; (float) </li></ul></ul>
  • 11. Strings <ul><li>A string literal can be specified in three different ways. </li></ul><ul><ul><li>single quoted </li></ul></ul><ul><ul><ul><li>Variables not expanded </li></ul></ul></ul><ul><ul><li>double quoted </li></ul></ul><ul><ul><ul><li>$foo = 20; </li></ul></ul></ul><ul><ul><ul><li>echo “The value of foo is $foo”; </li></ul></ul></ul>
  • 12. Strings <ul><ul><li>heredoc syntax </li></ul></ul><ul><ul><ul><li>Example 6-2. Here doc string quoting example </li></ul></ul></ul><ul><ul><ul><li><?php </li></ul></ul></ul><ul><ul><ul><li>$str = <<<EOD </li></ul></ul></ul><ul><ul><ul><li>Example of string </li></ul></ul></ul><ul><ul><ul><li>spanning multiple lines </li></ul></ul></ul><ul><ul><ul><li>using heredoc syntax. </li></ul></ul></ul><ul><ul><ul><li>EOD; </li></ul></ul></ul><ul><ul><ul><li>?> </li></ul></ul></ul>
  • 13. Arrays <ul><li>Specifying with array() </li></ul><ul><ul><li>An array can be created by the array() language-construct. It takes a certain number of comma-separated key => value pairs. </li></ul></ul><ul><ul><li>A key is either a nonnegative integer or a string. If a key is the standard representation of a non-negative integer, it will be interpreted as such (i.e. ’8’ will be interpreted as 8, while ’08’ will be interpreted as ’08’). </li></ul></ul><ul><ul><li>A value can be anything. </li></ul></ul><ul><ul><li>If you omit a key, the maximum of the integer-indices is taken, and the new key will be that maximum +1. If no integer-indices exist yet, the key will be 0 (zero). If you specify a key that already has a value assigned to it, that value will be overwritten. </li></ul></ul>
  • 14. Arrays <ul><ul><li>array( [ key =>] value </li></ul></ul><ul><ul><li>, ... </li></ul></ul><ul><ul><li>) </li></ul></ul><ul><ul><li>// key is either string or nonnegative integer </li></ul></ul><ul><ul><li>// value can be anything </li></ul></ul><ul><li>Creating/modifying with square-bracket syntax </li></ul><ul><ul><li>You can also modify an existing array, by explicitly setting values. </li></ul></ul><ul><ul><li>This is done by assigning values to the array while specifying the key in brackets. You can also omit the key, add an empty pair of brackets (&quot; [] &quot;) to the variable-name in that case. </li></ul></ul>
  • 15. Arrays <ul><ul><li>$arr[ key ] = value ; </li></ul></ul><ul><ul><li>$arr[] = value ; </li></ul></ul><ul><ul><li>// key is either string or nonnegative integer </li></ul></ul><ul><ul><li>// value can be anything </li></ul></ul>
  • 16. Objects <ul><li>Object Initialization </li></ul><ul><ul><li>To initialize an object, you use the new statement to instantiate the object to a variable. </li></ul></ul><ul><ul><ul><li><?php </li></ul></ul></ul><ul><ul><ul><li>class foo </li></ul></ul></ul><ul><ul><ul><li>{ </li></ul></ul></ul><ul><ul><ul><li>function do_foo() </li></ul></ul></ul><ul><ul><ul><li>{ </li></ul></ul></ul><ul><ul><ul><li>echo &quot;Doing foo.&quot;; </li></ul></ul></ul><ul><ul><ul><li>} </li></ul></ul></ul><ul><ul><ul><li>} </li></ul></ul></ul><ul><ul><ul><li>$bar = new foo; </li></ul></ul></ul><ul><ul><ul><li>$bar->do_foo(); </li></ul></ul></ul><ul><ul><ul><li>?> </li></ul></ul></ul>
  • 17. Null <ul><li>The special NULL value represents that a variable has no value. NULL is the only possible value of type NULL. </li></ul>
  • 18. Type Juggling <ul><li>PHP does not require (or support) explicit type definition in variable declaration; </li></ul><ul><li>A variable’s type is determined by the context in which that variable is used. </li></ul><ul><ul><li>If you assign a string value to variable var , var becomes a string. If you then assign an integer value to var , it becomes an integer. </li></ul></ul><ul><li>Operators on multiple types do NOT change the types of the operands themselves; the only change is in how the operands are evaluated. </li></ul>
  • 19. Type Juggling <ul><li>Example </li></ul><ul><ul><li>$foo = &quot;0&quot;; // $foo is string (ASCII 48) </li></ul></ul><ul><ul><li>$foo += 2; // $foo is now an integer (2) </li></ul></ul><ul><ul><li>$foo = $foo + 1.3; // $foo is now a float (3.3) </li></ul></ul><ul><ul><li>$foo = 5 + &quot;10 Little Piggies&quot;; // $foo is integer (15) </li></ul></ul><ul><ul><li>$foo = 5 + &quot;10 Small Pigs&quot;; // $foo is integer (15) </li></ul></ul>
  • 20. Variable Basics <ul><li>Variables in PHP are represented by a dollar sign followed by the name of the variable. </li></ul><ul><li>Variable name is case-sensitive. </li></ul><ul><li>Variable names follow the same rules as other labels in PHP. </li></ul><ul><ul><li>A valid variable name </li></ul></ul><ul><ul><ul><li>starts with a letter or underscore </li></ul></ul></ul><ul><ul><ul><li>Followed by any number of letters, numbers, or underscores. </li></ul></ul></ul><ul><ul><ul><li>As a regular expression, it would be expressed thus: ’[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*’ </li></ul></ul></ul>
  • 21. Variables <ul><li>Example </li></ul><ul><ul><li>$var = &quot;Bob&quot;; </li></ul></ul><ul><ul><li>$Var = &quot;Joe&quot;; </li></ul></ul><ul><ul><li>echo &quot;$var, $Var&quot;; // outputs &quot;Bob, Joe&quot; </li></ul></ul><ul><ul><li>$4site = ’not yet’; // invalid; starts with a number </li></ul></ul><ul><ul><li>$_4site = ’not yet’; // valid; starts with an underscore </li></ul></ul><ul><ul><li>$täyte = ’mansikka’; // valid; ’ä’ is ASCII 228. </li></ul></ul>
  • 22. References <ul><li>Example </li></ul><ul><ul><li><?php </li></ul></ul><ul><ul><li>$foo = ’Bob’; // Assign the value ’Bob’ to $foo </li></ul></ul><ul><ul><li>$bar = &$foo; // Reference $foo via $bar. </li></ul></ul><ul><ul><li>$bar = &quot;My name is $bar&quot;; // Alter $bar... </li></ul></ul><ul><ul><li>echo $foo; // $foo is altered too. </li></ul></ul><ul><ul><li>echo $bar; </li></ul></ul><ul><ul><li>?> </li></ul></ul>
  • 23. PHP Variables <ul><li>$argv </li></ul><ul><ul><li>Array of arguments passed to the script. </li></ul></ul><ul><li>$argc </li></ul><ul><ul><li>Contains the number of command line parameters passed to the script (if run on the command line). </li></ul></ul><ul><li>$PHP_SELF </li></ul><ul><ul><li>The filename of the currently executing script, relative to the document root. </li></ul></ul><ul><li>$HTTP_COOKIE_VARS </li></ul><ul><ul><li>An associative array of variables passed to the current script via HTTP cookies. </li></ul></ul><ul><li>$_COOKIE </li></ul><ul><ul><li>An associative array of variables passed to the current script via HTTP cookies. </li></ul></ul><ul><li>$HTTP_GET_VARS </li></ul><ul><ul><li>An associative array of variables passed to the current script via the HTTP GET method. </li></ul></ul>
  • 24. PHP Variables <ul><li>$_GET </li></ul><ul><ul><li>An associative array of variables passed to the current script via the HTTP GET method. </li></ul></ul><ul><li>$HTTP_POST_VARS </li></ul><ul><ul><li>An associative array of variables passed to the current script via the HTTP POST method. </li></ul></ul><ul><li>$_POST </li></ul><ul><ul><li>An associative array of variables passed to the current script via the HTTP POST method. </li></ul></ul><ul><li>$HTTP_POST_FILES </li></ul><ul><ul><li>An associative array of variables containing information about files uploaded via the HTTP POST method. </li></ul></ul><ul><li>$_FILES </li></ul><ul><ul><li>An associative array of variables containing information about files uploaded via the HTTP POST method </li></ul></ul>
  • 25. PHP Variables <ul><li>$HTTP_ENV_VARS </li></ul><ul><ul><li>An associative array of variables passed to the current script via the parent environment. </li></ul></ul><ul><li>$_ENV </li></ul><ul><ul><li>An associative array of variables passed to the current script via the parent environment. </li></ul></ul><ul><li>$HTTP_SERVER_VARS </li></ul><ul><ul><li>An associative array of variables passed to the current script from the HTTP server. </li></ul></ul><ul><li>$_SERVER </li></ul><ul><ul><li>An associative array of variables passed to the current script from the HTTP server. </li></ul></ul>
  • 26. PHP Variables <ul><li>$HTTP_SESSION_VARS </li></ul><ul><ul><li>An associative array of session variables passed to the current script. </li></ul></ul><ul><li>$_SESSION </li></ul><ul><ul><li>An associative array of session variables passed to the current script. </li></ul></ul><ul><li>$_REQUEST </li></ul><ul><ul><li>An associative array merged from the GET, POST, and Cookie variables. In other words - all the information that is coming from the user, and that from a security point of view, cannot be trusted. </li></ul></ul>
  • 27. Scope <ul><li>Variables declared outside of functions, classes are global to the script, outside of function blocks </li></ul><ul><li>Unlike C! Global variables are not automatically available to functions </li></ul><ul><li>Example: </li></ul><ul><ul><li>$a = 1; /* global scope */ </li></ul></ul><ul><ul><li>function Test() </li></ul></ul><ul><ul><li>{ </li></ul></ul><ul><ul><li>echo $a; /* reference to local scope variable */ </li></ul></ul><ul><ul><li>} </li></ul></ul><ul><ul><li>Test(); </li></ul></ul>
  • 28. Variable Scope <ul><li>Access to global variables inside functions </li></ul><ul><ul><li>Explicitly declare variable as global </li></ul></ul><ul><ul><li>global $a, $b; </li></ul></ul><ul><ul><li>Use the $GLOBALS array </li></ul></ul><ul><ul><ul><ul><ul><li>$foo = $GLOBALS[“a”] </li></ul></ul></ul></ul></ul>
  • 29. Variable Variables (aka, Dave blows your mind) <ul><li>A variable variable takes the value of a variable and treats that as the name of a variable. In the above </li></ul><ul><ul><li>$a = &quot;hello&quot;; </li></ul></ul><ul><ul><li>$$a = &quot;world&quot;; </li></ul></ul><ul><li>Two variables have been defined and stored in the PHP symbol tree: </li></ul><ul><ul><li>$a with contents &quot;hello&quot; </li></ul></ul><ul><ul><li>$hello with contents &quot;world“ </li></ul></ul><ul><li>echo &quot;$a ${$a}&quot;; </li></ul><ul><li>produces the exact same output as: </li></ul><ul><li>echo &quot;$a $hello&quot;; </li></ul><ul><li>i.e. they both produce: hello world . </li></ul>
  • 30. HTML Forms (GET and POST) <ul><li>When a form is submitted to a PHP script, any variables from that form will be automatically made available to the script by PHP. </li></ul><ul><li>Located in the associative arrays $HTTP_POST_VARS, $HTTP_GET_VARS, and/or </li></ul><ul><li>$HTTP_POST_FILES, according to the source of the variable in question. </li></ul><ul><li>Example 7-1. Simple form variable </li></ul><ul><ul><li><form action=&quot;foo.php&quot; method=&quot;post&quot;> </li></ul></ul><ul><ul><li>Name: <input type=&quot;text&quot; name=&quot;username&quot;><br> </li></ul></ul><ul><ul><li><input type=&quot;submit&quot;> </li></ul></ul><ul><ul><li></form> </li></ul></ul><ul><li>When the above form is submitted, the value from the text input will be available in $HTTP_POST_VARS[’username’] . </li></ul>
  • 31. More Complex HTML Forms <ul><li>Example 7-2. More complex form variables </li></ul><ul><ul><li><form action=&quot;array.php&quot; method=&quot;post&quot;> </li></ul></ul><ul><ul><li>Name: <input type=&quot;text&quot; name=&quot;personal[name]&quot;><br> </li></ul></ul><ul><ul><li>Email: <input type=&quot;text&quot; name=&quot;personal[email]&quot;><br> </li></ul></ul><ul><ul><li>Beer: <br> </li></ul></ul><ul><ul><li><select multiple name=&quot;beer[]&quot;> </li></ul></ul><ul><ul><li><option value=&quot;warthog&quot;>Warthog </li></ul></ul><ul><ul><li><option value=&quot;guinness&quot;>Guinness </li></ul></ul><ul><ul><li><option value=&quot;stuttgarter&quot;>Stuttgarter Schwabenbr&auml;u </li></ul></ul><ul><ul><li></select> </li></ul></ul><ul><ul><li><input type=&quot;submit&quot;> </li></ul></ul><ul><ul><li></form> </li></ul></ul>
  • 32. Cookies! <ul><li>Set cookies using the setcookie() function. </li></ul><ul><ul><li>Cookies are part of the HTTP header, so the SetCookie function must be called before any output is sent to the browser. </li></ul></ul><ul><li>Any cookies sent to you from the client will automatically be turned into a PHP variable just like GET and POST method data. </li></ul><ul><li>If you wish to assign multiple values to a single cookie, just add [] to the cookie name. </li></ul><ul><ul><li>For example: </li></ul></ul><ul><ul><li>setcookie(&quot;MyCookie[]&quot;, &quot;Testing&quot;, time()+3600); </li></ul></ul>
  • 33. Operators <ul><li>Pretty much all of the operators as in C++/Java/… </li></ul><ul><li>String comparison uses “==“ </li></ul>TRUE if $a is equal to $b, and they Are of the same type Identical $a === $b TRUE if $a is equal to $b. Equal $a == $b Result Name Example
  • 34. Control structures <ul><li>If, then, else, elseif, while, foreach, do…while, for, break, continue, switch, case, return </li></ul><ul><li>Supports backticks like Perl </li></ul>
  • 35. Other stuff <ul><li>require(/path/to/file.php) </li></ul><ul><ul><li>Includes and evaluates the specified file </li></ul></ul><ul><li>include(...) </li></ul><ul><ul><li>Same thing </li></ul></ul><ul><li>include_once(...) </li></ul><ul><ul><li>Makes sure same file is not included multiple times </li></ul></ul>
  • 36. User-defined functions <ul><li>A function may be defined using syntax such as the following: </li></ul><ul><ul><li>function foo ($arg_1, $arg_2, ..., $arg_n) </li></ul></ul><ul><ul><li>{ </li></ul></ul><ul><ul><li>echo &quot;Example function. &quot;; </li></ul></ul><ul><ul><li>return $retval; </li></ul></ul><ul><ul><li>} </li></ul></ul>
  • 37. Variable functions <ul><li>Example 12-1. Variable function example </li></ul><ul><ul><li><?php </li></ul></ul><ul><ul><li>function foo() </li></ul></ul><ul><ul><li>{ </li></ul></ul><ul><ul><li>echo &quot;In foo()<br> &quot;; </li></ul></ul><ul><ul><li>} </li></ul></ul><ul><ul><li>function bar($arg = ”) </li></ul></ul><ul><ul><li>{ </li></ul></ul><ul><ul><li>echo &quot;In bar(); argument was ’$arg’.<br> &quot;; </li></ul></ul><ul><ul><li>} </li></ul></ul><ul><ul><li>$func = ’foo’; </li></ul></ul><ul><ul><li>$func(); </li></ul></ul><ul><ul><li>$func = ’bar’; </li></ul></ul><ul><ul><li>$func(’test’); </li></ul></ul><ul><ul><li>?> </li></ul></ul>
  • 38. More on PHP <ul><li>Read the Manual! </li></ul><ul><li>Know your PHP version number! </li></ul><ul><li>Repeat after me: </li></ul><ul><ul><li>http://www.PHP.net is your friend. </li></ul></ul>
  • 39. Oracle (finally) <ul><li>Two DBIs: </li></ul><ul><ul><li>Oracle (old, deprecated, don’t use) </li></ul></ul><ul><ul><li>Oracle 8 </li></ul></ul><ul><ul><ul><li><= PHP4 naming is different from PHP5 naming </li></ul></ul></ul><ul><ul><ul><li>Old naming is deprecated in PHP5, but tlab-login has only PHP4 </li></ul></ul></ul>
  • 40. Oracle Function List <ul><li>OCIDefineByName </li></ul><ul><li>OCIBindByName </li></ul><ul><li>OCILogon </li></ul><ul><li>OCIPLogon </li></ul><ul><li>OCINLogon </li></ul><ul><li>OCILogOff </li></ul><ul><li>OCIExecute </li></ul><ul><li>OCICommit </li></ul><ul><li>OCIRollback </li></ul><ul><li>OCINewDescriptor </li></ul><ul><li>OCIRowCount </li></ul>
  • 41. Oracle Function List <ul><li>OCINumCols </li></ul><ul><li>OCIResult </li></ul><ul><li>OCIFetch </li></ul><ul><li>OCIFetchInto </li></ul><ul><li>OCIFetchStatement </li></ul><ul><li>OCIColumnIsNULL </li></ul><ul><li>OCIColumnName </li></ul><ul><li>OCIColumnSize </li></ul><ul><li>OCIColumnType </li></ul><ul><li>OCIServerVersion </li></ul><ul><li>OCIStatementType </li></ul><ul><li>OCINewCursor </li></ul>
  • 42. Oracle Function List <ul><li>OCIFreeStatement </li></ul><ul><li>OCIFreeCursor </li></ul><ul><li>OCIFreeDesc </li></ul><ul><li>OCIParse </li></ul><ul><li>OCIError </li></ul><ul><li>OCIInternalDebug </li></ul><ul><li>OCICancel </li></ul><ul><li>OCISetPrefetch </li></ul><ul><li>OCIWriteLobToFile </li></ul><ul><li>OCISaveLobFile </li></ul><ul><li>OCISaveLob </li></ul>
  • 43. Oracle Function List <ul><li>OCILoadLob </li></ul><ul><li>OCIColumnScale </li></ul><ul><li>OCIColumnPrecision </li></ul><ul><li>OCIColumnTypeRaw </li></ul><ul><li>OCINewCollection </li></ul><ul><li>OCIFreeCollection </li></ul><ul><li>OCICollAssign </li></ul><ul><li>OCICollAppend </li></ul><ul><li>OCICollAssignElem </li></ul><ul><li>OCICollGetElem </li></ul><ul><li>OCICollMax </li></ul>

×