Manual de PHP

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

Editado por

Rafael Martínez
Angela Pardo
Federico Finos
Pablo Daniel Rigazzi
Robert Sánchez
Leonardo Boshell

28-10-2003


Tabla de contenidos
Prefacio
I. Conceptos Básicos
1. Introducción
2. Una explicación sencilla
3. Instalación
4. Configuración del comportamiento de PHP
II. Referencia del Lenguaje
5. Síntaxis básica
6. Tipos
7. Variables
8. Constantes
9. Expresiones
10. Operadores
11. Estructuras de Control
12. Funciones
13. Clases y Objetos
14. Explicando las Referencias
III. Seguridad
15. Seguridad
IV. Características
16. Autentificación HTTP con PHP
17. Cookies
18. Manejo de envío de archivos
19. Usando archivos remotos
20. Manejando conexiones
21. Conexiones persistentes a bases de datos
22. Modo Seguro (Safe Mode)
23. Usando PHP desde la línea de comando
V. Referencia de las Funciones
I. Funciones específicas de Apache
II. Funciones de matrices
III. Funciones Aspell [deprecated]
IV. Funciones matemáticas de precisión arbitraria BCMath
V. Funciones de compresión Bzip2
VI. Funciones de calendario
VII. Funciones del API de CCVS
VIII. soporte de las funciones COM para Windows
IX. Funciones de Clases/Objectos
X. Funciones de ClibPDF
XI. Crack functions
XII. Funciones CURL (Client URL Library)
XIII. Funciones de pago electrónico
XIV. Cyrus IMAP administration functions
XV. Funciones de tipo de caracter
XVI. Funciones de la capa de abstraccion de bases de datos (dbm-style)
XVII. Funciones de fecha y hora
XVIII. Funciones para dBase
XIX. Funciones dbm
XX. dbx functions
XXI. DB++ Functions
XXII. Direct IO functions
XXIII. Funciones con directorios
XXIV. Funciones de DOM XML
XXV. .NET functions
XXVI. Error Handling and Logging Functions
XXVII. File alteration monitor functions
XXVIII. FrontBase Functions
XXIX. Funciones filePro
XXX. Funciones del sistema de ficheros
XXXI. Funciones Forms Data Format (Formato de Datos de Formularios)
XXXII. FriBiDi functions
XXXIII. Funciones FTP
XXXIV. Function Handling functions
XXXV. GNU Gettext
XXXVI. GMP functions
XXXVII. Funciones HTTP
XXXVIII. Funciones para Hyperwave
XXXIX. Hyperwave API functions
XL. iconv functions
XLI. Funciones para imágenes
XLII. Funciones IMAP
XLIII. Funciones para Informix
XLIV. Funciones InterBase
XLV. Ingres II functions
XLVI. IRC Gateway Functions
XLVII. PHP / Java Integration
XLVIII. Funciones LDAP
XLIX. Funciones de Correo
L. mailparse functions
LI. Funciones matemáticas
LII. Multi-Byte String Functions
LIII. MCAL functions
LIV. Funciones Criptográficas
LV. MCVE Payment Functions
LVI. Funciones Hash
LVII. Mimetype Functions
LVIII. Funciones de Microsoft SQL Server
LIX. Ming functions for Flash
LX. Miscelánea de funciones
LXI. mnoGoSearch Functions
LXII. funciones mSQL
LXIII. Funciones MySQL
LXIV. Improved MySQL Extension
LXV. Mohawk Software session handler functions
LXVI. muscat functions
LXVII. Funciones de Red
LXVIII. Ncurses terminal screen control functions
LXIX. Lotus Notes functions
LXX. NSAPI-specific Functions
LXXI. ODBC functions
LXXII. Object Aggregation/Composition Functions
LXXIII. Funciones de Oracle 8
LXXIV. OpenSSL functions
LXXV. Funciones Oracle
LXXVI. Ovrimos SQL functions
LXXVII. Output Control Functions
LXXVIII. Object property and method call overloading
LXXIX. PDF functions
LXXX. Verisign Payflow Pro functions
LXXXI. opciones e información de PHP
LXXXII. Funciones POSIX
LXXXIII. Funciones de PostgreSQL
LXXXIV. Process Control Functions
LXXXV. Funciones de ejecución de programas
LXXXVI. Printer functions
LXXXVII. Pspell Functions
LXXXVIII. GNU Readline
LXXXIX. Funciones GNU Recode
XC. Funciones de expresiones regulares compatibles con Perl
XCI. qtdom functions
XCII. Funciones para expresiones regulares
XCIII. Funciones Semáforo y de memoria compartida
XCIV. SESAM database functions
XCV. Funciones para el manejo de sesiones
XCVI. Shared Memory Functions
XCVII. SQLite
XCVIII. Shockwave Flash functions
XCIX. Funciones SNMP
C. Socket functions
CI. Stream functions
CII. Funciones de cadenas
CIII. Funciones de Sybase
CIV. Tokenizer functions
CV. Funciones URL
CVI. Funciones sobre variables
CVII. vpopmail functions
CVIII. W32api functions
CIX. Funciones WDDX
CX. Funciones de intérprete XML
CXI. XML-RPC functions
CXII. XSLT functions
CXIII. YAZ
CXIV. NIS funciona
CXV. Zip File Functions (Read Only Access)
CXVI. Funciones de Compresión
VI. 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
VII. PHP API: Interfaces para autores de extensiones
43. Streams API for PHP Extension Authors
VIII. FAQ: Preguntas frecuentes
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
IX. Apéndices
A. Historia de PHP y proyectos relacionados
B. Migrating from PHP 3 to PHP 4
C. Migrando de PHP/FI 2.0 a PHP 3.0
D. El debugger de PHP
E. Desarrollo en PHP
F. Lista de alias de funciones
G. List of Reserved Words
H. List of Resource Types
I. List of Supported Protocols/Wrappers
J. List of Supported Socket Transports
K. PHP type comparison tables
L. Lista de Identificadores (tokens) del Analizador
M. Sobre el manual
N. Índice de funciones
O. Material que falta