Manuale PHP

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

A cura di

Luca Perugini
Simone Cortesi
Tradotto con la collaborazione di:
Marco Cucinato
Massimo Colombo
Marco De Nittis
Darvin Andrioli
Fabio Gandola
Sergio Marchesini
Alan D'Angelo
Giacomo Tesio
Marco Spisto
Gabriele Scaroni
Mariano Calandra
Rocco Curcio
Luca Costantino

20-04-2003


Sommario
Prefazione
I. Guida Rapida
1. Introduzione
2. Una semplice introduzione
3. Installazione
4. Configuration
5. Security
II. Struttura del Linguaggio
6. Sintassi Fondamentale
7. Types
8. Variables
9. Costanti
10. Expressions
11. Operatori
12. Strutture di controllo
13. Funzioni
14. Classi e Oggetti
15. Spiegazioni sui riferimenti
III. Caratteristiche
16. Autenticazione HTTP usando PHP
17. Cookies
18. Caricare file
19. Utilizzo di file remoti
20. Connection handling
21. Connessioni Persistenti ai Database
22. Modalità sicura (Safe mode)
23. Using PHP from the command line
IV. Guida Funzioni
I. Funzioni Apache
II. Funzioni di Array
III. Funzioni Aspell [deprecated]
IV. Funzioni Matematiche BCMath a precisione arbitraria
V. Funzioni di compressione Bzip2
VI. Funzioni Calendar
VII. Funzioni API CCVS
VIII. Funzioni di supporto COM per Windows
IX. Funzioni per Classi/Oggetti
X. Funzioni ClibPDF
XI. Funzioni di Crack
XII. Funzioni CURL, Client URL Library
XIII. Funzioni di pagamento Cybercash
XIV. Crédit Mutuel CyberMUT functions
XV. Cyrus IMAP administration functions
XVI. Funzioni di tipo dei caratteri
XVII. Database (dbm-style) abstraction layer functions
XVIII. Funzioni di Data e Ora
XIX. Funzioni dBase
XX. Funzioni DBM
XXI. dbx functions
XXII. DB++ Functions
XXIII. Funzioni per l'IO diretto
XXIV. Funzioni per le directory
XXV. Funzioni DOM XML
XXVI. Funzioni .NET
XXVII. Funzioni di gestione degli errori e di logging
XXVIII. FrontBase Functions
XXIX. Funzioni filePro
XXX. Funzioni sul filesystem
XXXI. Forms Data Format functions
XXXII. Funzioni FriBiDi
XXXIII. Funzioni FTP
XXXIV. Function Handling functions
XXXV. Gettext
XXXVI. Funzioni GMP
XXXVII. Funzioni HTTP
XXXVIII. Hyperwave functions
XXXIX. Hyperwave API functions
XL. funzioni iconv
XLI. Funzioni per le immagini
XLII. IMAP, POP3 and NNTP functions
XLIII. Informix functions
XLIV. Funzioni InterBase
XLV. Ingres II functions
XLVI. IRC Gateway Functions
XLVII. PHP / Java Integration
XLVIII. LDAP functions
XLIX. Funzioni di Mail
L. mailparse functions
LI. Funzioni Matematiche
LII. Multi-Byte String Functions
LIII. MCAL functions
LIV. Mcrypt Encryption Functions
LV. MCVE Payment Functions
LVI. Mhash Functions
LVII. Mimetype Functions
LVIII. Funzioni per Microsoft SQL Server
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. Funzioni di rete
LXVII. Ncurses terminal screen control functions
LXVIII. Lotus Notes functions
LXIX. Funzioni ODBC Unificate
LXX. Object Aggregation/Composition Functions
LXXI. Funzioni Oracle 8
LXXII. OpenSSL functions
LXXIII. Funzioni Oracle
LXXIV. Ovrimos SQL functions
LXXV. Output Control Functions
LXXVI. Proprietà object e method call overloading
LXXVII. PDF functions
LXXVIII. Verisign Payflow Pro functions
LXXIX. PHP Options&Information
LXXX. POSIX functions
LXXXI. Funzioni PostgreSQL
LXXXII. Process Control Functions
LXXXIII. Funzioni per l'esecuzione di programmi
LXXXIV. Funzioni per le stampanti
LXXXV. Pspell Functions
LXXXVI. GNU Readline
LXXXVII. GNU Recode functions
LXXXVIII. Funzioni per le espressioni regolari (Perl compatibili)
LXXXIX. Funzioni qtdom
XC. Funzioni per le espressioni regolari (POSIX estesa)
XCI. Funzioni per i semafori, la memoria condivisa ed IPC
XCII. SESAM database functions
XCIII. Funzioni di gestione della sessione
XCIV. Funzioni relative alla memoria condivisa
XCV. Shockwave Flash functions
XCVI. Funzioni per SNMP
XCVII. Funzioni relative ai Socket
XCVIII. Stream functions
XCIX. String functions
C. Sybase functions
CI. Tokenizer functions
CII. URL Functions
CIII. Funzioni di Variabili
CIV. Funzioni vpopmail
CV. Funzioni W32api
CVI. WDDX Functions
CVII. Funzioni relative al parser XML
CVIII. Funzioni XMLRPC
CIX. Funzioni XSLT
CX. YAZ functions
CXI. YP/NIS Functions
CXII. Funzioni per File Zip (Accesso di Sola Lettura)
CXIII. Zlib Compression Functions
V. Zend API
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
VI. PHP API: Interfaces for extension writers
43. Streams API for PHP Extension Authors
VII. FAQ: Frequently Asked Questions (domande e risposte ricorrenti)
44. Informazioni Generali
45. Mailing list
46. Ottenere PHP
47. Database issues
48. Installazione
49. Problemi di installazione
50. Using PHP
51. PHP and HTML
52. PHP e COM
53. PHP e gli altri linguaggi di programmazione
54. Migrazione da PHP 2 a PHP 3
55. Migrazione da PHP 3 a PHP 4
56. Domande varie
VIII. Appendici
A. History of PHP and related projects
B. Migrating from PHP 3 to PHP 4
C. Migrazione da PHP/FI 2 a PHP 3
D. Debugging PHP
E. Extending PHP
F. Lista dei sinonimi delle funzioni PHP
G. Parole riservate nel PHP
H. List of Resource Types
I. List of Supported Protocols/Wrappers
J. List of Parser Tokens
K. Informazioni sul manuale
L. Informazioni mancanti