PHP  
downloads | documentation | faq | getting help | mailing lists | | php.net sites | links 
search for in the  
Esipuhe>
Last updated: Wed, 15 Jan 2003
view the printer friendly version or the printer friendly version with notes or change language to English | Brazilian Portuguese | Chinese (Simplified) | Chinese (Traditional) | Czech | Dutch | French | German | Hebrew | Hungarian | Italian | Japanese | Korean | Polish | Romanian | Russian | Slovak | Slovenian | Spanish | Swedish | Turkish

PHP K�sikirja

Stig S�ther Bakken
Alexander Aulbach
Egon Schmid
Jim Winstead
Lars Torben Wilson
Rasmus Lerdorf
Andrei Zmievski
Jouni Ahto

Toimittanut

Jani Taskinen

14-01-2003


Sis�llys
Esipuhe
I. Johdanto
1. Introduction
2. A simple tutorial
3. Asentaminen
4. Configuration
5. Security
II. Syntaksi
6. Syntaksi
7. Types
8. Variables
9. Constants
10. Expressions
11. Operators
12. Control Structures
13. Functions
14. Classes and Objects
15. References Explained
III. Ominaisuudet
16. HTTP authentication with PHP
17. Cookies
18. Handling file uploads
19. Using remote files
20. Connection handling
21. Persistent Database Connections
22. Safe Mode
23. Using PHP from the command line
IV. Funktiot
I. Apache-specific Functions
II. Array Functions
III. Aspell functions [deprecated]
IV. BCMath Arbitrary Precision Mathematics Functions
V. Bzip2 Compression Functions
VI. Calendar functions
VII. CCVS API Functions
VIII. COM support functions for Windows
IX. Class/Object Functions
X. ClibPDF functions
XI. Crack functions
XII. CURL, Client URL Library Functions
XIII. Cybercash payment functions
XIV. Cr�dit Mutuel CyberMUT functions
XV. Cyrus IMAP administration functions
XVI. Character type functions
XVII. Database (dbm-style) abstraction layer functions
XVIII. Date and Time functions
XIX. dBase functions
XX. DBM Functions [deprecated]
XXI. dbx functions
XXII. DB++ Functions
XXIII. Direct IO functions
XXIV. Directory functions
XXV. DOM XML functions
XXVI. .NET functions
XXVII. Error Handling and Logging Functions
XXVIII. FrontBase Functions
XXIX. filePro functions
XXX. Filesystem functions
XXXI. Forms Data Format functions
XXXII. FriBiDi functions
XXXIII. FTP functions
XXXIV. Function Handling functions
XXXV. Gettext
XXXVI. GMP functions
XXXVII. HTTP functions
XXXVIII. Hyperwave functions
XXXIX. Hyperwave API functions
XL. iconv functions
XLI. Image functions
XLII. IMAP, POP3 and NNTP functions
XLIII. Informix functions
XLIV. InterBase functions
XLV. Ingres II functions
XLVI. IRC Gateway Functions
XLVII. PHP / Java Integration
XLVIII. LDAP functions
XLIX. Mail functions
L. mailparse functions
LI. Mathematical Functions
LII. Multi-Byte String Functions
LIII. MCAL functions
LIV. Mcrypt Encryption Functions
LV. MCVE Payment Functions
LVI. Mhash Functions
LVII. Mimetype Functions
LVIII. Microsoft SQL Server functions
LIX. Ming functions for Flash
LX. Miscellaneous functions
LXI. mnoGoSearch Functions
LXII. mSQL functions
LXIII. MySQL Functions
LXIV. Mohawk Software session handler functions
LXV. muscat functions
LXVI. Network Functions
LXVII. Ncurses terminal screen control functions
LXVIII. Lotus Notes functions
LXIX. Unified ODBC functions
LXX. Object Aggregation/Composition Functions
LXXI. Oracle 8 functions
LXXII. OpenSSL functions
LXXIII. Oracle functions
LXXIV. Ovrimos SQL functions
LXXV. Output Control Functions
LXXVI. Object property and method call overloading
LXXVII. PDF functions
LXXVIII. Verisign Payflow Pro functions
LXXIX. PHP Options&Information
LXXX. POSIX functions
LXXXI. PostgreSQL functions
LXXXII. Process Control Functions
LXXXIII. Program Execution functions
LXXXIV. Printer functions
LXXXV. Pspell Functions
LXXXVI. GNU Readline
LXXXVII. GNU Recode functions
LXXXVIII. Regular Expression Functions (Perl-Compatible)
LXXXIX. qtdom functions
XC. Regular Expression Functions (POSIX Extended)
XCI. Semaphore, Shared Memory and IPC Functions
XCII. SESAM database functions
XCIII. Session handling functions
XCIV. Shared Memory Functions
XCV. Shockwave Flash functions
XCVI. SNMP functions
XCVII. Socket functions
XCVIII. Stream functions
XCIX. String functions
C. Sybase functions
CI. Tokenizer functions
CII. URL Functions
CIII. Variable Functions
CIV. vpopmail functions
CV. W32api functions
CVI. WDDX Functions
CVII. XML parser functions
CVIII. XML-RPC functions
CIX. XSLT functions
CX. YAZ functions
CXI. YP/NIS Functions
CXII. Zip File Functions (Read Only Access)
CXIII. Zlib Compression Functions
V. Extending PHP 4.0
24. Overview
25. Extension Possibilities
26. Source Layout
27. PHP's Automatic Build System
28. Creating Extensions
29. Using Extensions
30. Troubleshooting
31. Source Discussion
32. Accepting Arguments
33. Creating Variables
34. Duplicating Variable Contents: The Copy Constructor
35. Returning Values
36. Printing Information
37. Startup and Shutdown Functions
38. Calling User Functions
39. Initialization File Support
40. Where to Go from Here
41. Reference: Some Configuration Macros
42. API Macros
43. Streams API for PHP Extension Authors
Overview
Streams Basics
Streams Common API Reference
Streams Dir API Reference
Streams File API Reference
Streams Socket API Reference
Streams Structures
Streams Constants
VI. UKK: Usein Kysyttyj� Kysymyksi�
44. General Information
45. Mailing lists
46. Obtaining PHP
47. Database issues
48. Installation
49. Build Problems
50. Using PHP
51. PHP and HTML
52. PHP and COM
53. PHP and other languages
54. Migrating from PHP 2 to PHP 3
55. Migrating from PHP 3 to PHP 4
56. Miscellaneous Questions
VII. Liitteet
A. History of PHP and related projects
B. Migrating from PHP 3 to PHP 4
C. Migrating from PHP/FI 2 to PHP 3
D. Debugging PHP
E. Extending PHP
F. List of Function Aliases
G. List of Reserved Words
H. List of Resource Types
I. List of Supported Protocols/Wrappers
J. List of Parser Tokens
K. About the manual
L. Missing Stuff
User Contributed Notes
PHP K�sikirja
add a note about notes
dq skipthisword at searchlores dot org
07-Nov-2002 05:26

<?php
{
 /* NoBloatIndex
 nobloatindex.php enhances your PHP manual by reducing the
 index to those entries you care about. You just have to
 provide a file with those headers that you want to have
 commented out in the manual.

 You may customize the four variables below
 $filename should point either to index.html or
  funcref.html within the PHP manual directory.
 $filediscard shall contain a list of lines with the
   function reference headers you don't care about. For
   example, if you don't care about Informix functions,
   just add a line with the text: Informix functions
$signature is a text string part of the html comment
   disabling that entry.
 $nbr_backups is the max number of backups of the file
   about to be modified. The backup files will be named
   like the original file with a numerical extension.
 */
$filename='..\manual\index.html';
 $filediscard='discard.txt';
$signature='NoBloat';
 $nbr_backups=10;
 // you may customize the four variables above
 error_reporting(E_ALL);
for($i=0;$i<$nbr_backups;$i++) {
  $filebak=sprintf($filename.'.%0'.
      strlen((string)($nbr_backups-1)).'d',$i);
  if(!file_exists($filebak)) break;
 }
$contents=join('',file($filename));
 if(!rename($filename,$filebak)) copy($filename,$filebak);
 $signature='--'.$signature.'--';
$contents=str_replace(array('<!'.$signature,
    $signature.'>'),'',$contents);
 foreach(file($filediscard) as $discard) {
   $discard=trim($discard);
   if(strlen($discard)==0) continue;
  $pattern='@(<DT\s*>[^<>]*<A[^<>]*>[^<>]*'.
    preg_quote($discard,'@').
    '[^<>]*</A\s*></DT\s*>)@sU';
  $ra=preg_split($pattern,$contents,-1,
                  PREG_SPLIT_DELIM_CAPTURE);
   $i=(count($ra)-1)/2;
   if($i!=1)
     print("Warning: $i matches found for \"$discard\"\n");
   $contents=array_shift($ra);
  for(;$i>0;$i--) $contents.='<!'.$signature.
    array_shift($ra).$signature.'>'.array_shift($ra);
 } // end foreach
 $fh=@fopen($filename,'wb');
 if($fh) {
  fwrite($fh,$contents);
   fclose($fh);
 }
}
?>

add a note about notes
Esipuhe>
Last updated: Wed, 15 Jan 2003
show source | credits | mirror sites
Copyright © 2001-2003 The PHP Group
All rights reserved.
This mirror generously provided by: /
Last updated: Thu Jan 16 08:12:52 2003 CET