PHP: PHP k�zik�nyv - Manual
PHP  
downloads | documentation | faq | getting help | mailing lists | | php.net sites | links 
search for in the  
El�sz�>
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 | Finnish | French | German | Hebrew | Italian | Japanese | Korean | Polish | Romanian | Russian | Slovak | Slovenian | Spanish | Swedish | Turkish

PHP k�zik�nyv

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

Szerkesztette

Stig Sæther Bakken
Egon Schmid
Ford�t�k:
Csontos Andr�s
Heilig Szabolcs
Hojtsy G�bor
Kontra Gergely
Papp Gy�z�
T�th Attila
Varanka Zolt�n
M�sk�ppen seg�tett:
Jouni Ahto

14-01-2003


Tartalom
El�sz�
I. Els� l�p�sek
1. Bevezet�s a PHP-be
2. A simple tutorial
3. Telep�t�s
4. Configuration
5. Biztons�g
II. A nyelv alapjai
6. Alapvet� szintaxis
7. T�pusok
8. V�ltoz�k
9. �lland�k
10. Kifejez�sek
11. Oper�torok
12. Vez�rl�si szerkezetek
13. F�ggv�nyek
14. Oszt�lyok, objektumok
15. Referenci�k
III. Szolg�ltat�sok
16. HTTP hiteles�t�s PHP-vel
17. S�tik (cookie-k)
18. F�jlfelt�lt�s kezel�se
19. T�voli �llom�nyok kezel�se
20. Kapcsolatkezel�s
21. �lland� adatb�zis kapcsolatok
22. Safe Mode
23. Parancssori programoz�s a PHP-ben
IV. F�ggv�ny referencia
I. Apache-specifikus f�ggv�nyek
II. T�mbkezel� f�ggv�nyek
III. Aspell f�ggv�nyek [ellenjavallt]
IV. BCMath tetsz�leges pontoss�g� matematikai f�ggv�nyek
V. Bzip2 t�m�r�t�si f�ggv�nyek
VI. Napt�r f�ggv�nyek
VII. CCVS f�ggv�nyek
VIII. COM t�mogat� f�ggv�nyek Windowshoz
IX. Oszt�ly/Objektum f�ggv�nyek
X. ClibPDF f�ggv�nyek
XI. Crack functions
XII. CURL, Client URL Library Functions
XIII. Cybercash payment f�ggv�nyek
XIV. Cr�dit Mutuel CyberMUT functions
XV. Cyrus IMAP administration functions
XVI. Character type functions
XVII. Database (dbm-style) abstraction layer functions
XVIII. D�tummal �s id�ponttal kapcsolatos f�ggv�nyek
XIX. dBase functions
XX. DBM Functions [deprecated]
XXI. dbx f�ggv�nyek
XXII. DB++ Functions
XXIII. Direct IO functions
XXIV. K�nyvt�rkezel� f�ggv�nyek
XXV. DOM XML f�ggv�nyek
XXVI. .NET functions
XXVII. Error Handling and Logging Functions
XXVIII. FrontBase Functions
XXIX. filePro f�ggv�nyek
XXX. Filesystem functions
XXXI. Forms Data Format functions
XXXII. FriBiDi functions
XXXIII. FTP functions
XXXIV. F�ggv�nykezel� f�ggv�nyek
XXXV. GNU Gettext
XXXVI. GMP functions
XXXVII. HTTP functions
XXXVIII. Hyperwave functions
XXXIX. Hyperwave API functions
XL. iconv functions
XLI. K�pmanipul�l� f�ggv�nyek
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 f�ggv�nyek
L. mailparse functions
LI. Matematikai f�ggv�nyek
LII. Multi-Byte String Functions
LIII. MCAL functions
LIV. Mcrypt Encryption Functions
LV. MCVE Payment Functions
LVI. Mhash f�ggv�nyek
LVII. Mimetype Functions
LVIII. Microsoft SQL Server functions
LIX. Ming f�ggv�nyk�nyvt�r Flash mozik el��ll�t�s�hoz
LX. Miscellaneous functions
LXI. mnoGoSearch Functions
LXII. mSQL functions
LXIII. MySQL f�ggv�nyek
LXIV. Mohawk Software session handler functions
LXV. muscat functions
LXVI. H�l�zatkezel�si F�ggv�nyek
LXVII. Ncurses terminal screen control functions
LXVIII. Lotus Notes functions
LXIX. Unified ODBC functions
LXX. Object Aggregation/Composition Functions
LXXI. Oracle 8 f�ggv�nyek
LXXII. OpenSSL functions
LXXIII. Oracle f�ggv�nyek
LXXIV. Ovrimos SQL functions
LXXV. Kimenet Szab�lyoz� F�ggv�nyek
LXXVI. Object property and method call overloading
LXXVII. PDF functions
LXXVIII. Verisign Payflow Pro functions
LXXIX. PHP Options&Information
LXXX. POSIX functions
LXXXI. PostgreSQL f�ggv�nyek
LXXXII. Process Control Functions
LXXXIII. Programfuttat� f�ggv�nyek
LXXXIV. Printer functions
LXXXV. Pspell Functions
LXXXVI. GNU Readline
LXXXVII. GNU Recode f�ggv�nyek
LXXXVIII. Regul�ris kifejez�sek f�ggv�nyei (Perl kompatibilis)
LXXXIX. qtdom functions
XC. Regular Expression Functions (POSIX Extended)
XCI. Semaphore, Shared Memory and IPC Functions
XCII. SESAM database functions
XCIII. Munkamenet kezel� f�ggv�nyek
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 f�ggv�nyek
CIII. V�ltoz�kkal kapcsolatos f�ggv�nyek
CIV. vpopmail f�ggv�nyek
CV. W32api functions
CVI. WDDX f�ggv�nyek
CVII. XML �rtelmez� f�ggv�nyek
CVIII. XML-RPC functions
CIX. XSLT f�ggv�nyek
CX. YAZ functions
CXI. YP/NIS Functions
CXII. Zip F�jl f�ggv�nyek (csak olvas�shoz)
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. GYIK: Gyakran Ism�telt K�rd�sek
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. F�ggel�kek
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. A PHP debuggere
E. Extending PHP
F. �lnevek list�ja
G. List of Reserved Words
H. Er�forr�s t�pusok list�ja
I. List of Supported Protocols/Wrappers
J. List of Parser Tokens
K. About the manual
L. Hi�nyz� elemek
User Contributed Notes
PHP k�zik�nyv
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
El�sz�>
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