Manual de PHP

Free Download

Authors:

Size: 8 MB (8843316 bytes)

Pages: 1063/1063

File format:

Language:

Publishing Year:

Category:

Bakken S.S., Aulbach A., Schmid E.


Table of contents :
Tabla de contenidos……Page 5
Sobre la traducción……Page 41
Capítulo 1. Introducción……Page 43
Corta historia de PHP……Page 45
Capítulo 2. Instalación……Page 47
Instrucciones Rápidas de Instalación (Versión Módulo de Apache)……Page 49
dBase……Page 50
Oracle……Page 51
Una librería a medida de ODBC……Page 52
–enable-sysvshm……Page 53
–enable-safe-mode……Page 54
–enable-force-cgi-redirect……Page 55
Comprobando la velocidad……Page 56
Windows 95/98/NT y PWS/IIS 3……Page 57
Windows NT e IIS 4……Page 58
Módulos del PHP……Page 59
Otros problemas……Page 60
Capítulo 3. Configuración……Page 61
Directivas Generales de Configuración……Page 63
Directivas de Configuración de Modo Seguro……Page 66
Directivas de Configuración de MySQL……Page 67
SESAM Configuration Directives……Page 68
Directivas de Configuración de Informix……Page 69
Directivas Unificadas de Configuración de ODBC……Page 70
Capítulo 4. Seguridad……Page 73
Caso 1: solamente se sirven ficheros publicos……Page 75
Caso 4: Analizador PHP fuera del arbol web…….Page 76
Modulo Apache……Page 77
Capítulo 5. Sintaxis básica……Page 79
Comentarios……Page 81
Capítulo 6. Types……Page 83
Cadenas……Page 85
Arrays unidimensionales……Page 87
Arrays Multidimensionales……Page 88
Inicialización de Objetos……Page 89
Type juggling……Page 90
Forzado de tipos……Page 91
Capítulo 7. Variables……Page 93
Variables predefinidas……Page 95
Variables de Apache……Page 96
Variables de entorno……Page 97
Ambito de las variables……Page 98
Formularios HTML (GET y POST)……Page 100
Cookies HTTP……Page 101
Determinando los tipos de variables……Page 102
Capítulo 8. Constantes……Page 103
Capítulo 9. Expresiones……Page 107
Capítulo 10. Operadores……Page 111
Operadores Bit a bit……Page 113
Operador de ejecución……Page 114
Operadores Lógicos……Page 115
Operadores de Cadenas……Page 116
Capítulo 11. Estructuras de Control……Page 117
else……Page 119
while……Page 120
do..while……Page 121
for……Page 122
foreach……Page 123
break……Page 124
continue……Page 125
switch……Page 126
require()……Page 127
include()……Page 129
require_once()……Page 131
include_once()……Page 133
Capítulo 12. Funciones……Page 135
Pasar parámetros por referencia……Page 137
Parámetros por defecto……Page 138
Funciones variable……Page 139
Capítulo 13. Clases y Objetos……Page 141
class……Page 143
Capítulo 14. References Explained……Page 145
Returning References……Page 147
BookmarkTitle:……Page 148
Capítulo 15. Manejando errores……Page 149
Capítulo 16. Creando imágenes GIF……Page 153
Capítulo 17. Autentificación HTTP con PHP……Page 157
Capítulo 18. Cookies……Page 161
Capítulo 19. El envío de archivos……Page 165
Envío de más de un archivo……Page 167
Soporte del método PUT……Page 168
Capítulo 20. Usando archivos remotos……Page 171
Capítulo 21. Manejando conexiones……Page 175
Capítulo 22. Conexiones persistentes a bases de datos……Page 179
I. Funciones específicas de Apache……Page 183
apache_note (PHP 3>= 3.0.2, PHP 4 )……Page 185
virtual (PHP 3, PHP 4 )……Page 186
II. Funciones de matrices……Page 187
array_flip (PHP 4 >= 4.0b4)……Page 189
array_merge (PHP 4 )……Page 190
array_pop (PHP 4 )……Page 191
array_reverse (PHP 4 >= 4.0b4)……Page 192
array_slice (PHP 4 )……Page 193
array_splice (PHP 4 )……Page 194
array_values (PHP 4 )……Page 195
arsort (PHP 3, PHP 4 )……Page 196
compact (PHP 4 )……Page 197
current (PHP 3, PHP 4 )……Page 198
each (PHP 3, PHP 4 )……Page 199
extract (PHP 3>= 3.0.7, PHP 4 )……Page 200
in_array (PHP 4 )……Page 201
ksort (PHP 3, PHP 4 )……Page 202
next (PHP 3, PHP 4 )……Page 203
reset (PHP 3, PHP 4 )……Page 204
sizeof (PHP 3, PHP 4 )……Page 205
uksort (PHP 3>= 3.0.4, PHP 4 )……Page 206
usort (PHP 3>= 3.0.3, PHP 4 )……Page 207
III. Funciones Ortográficas……Page 209
aspell_check-raw (PHP 3>= 3.0.7, PHP 4 )……Page 211
aspell_suggest (PHP 3>= 3.0.7, PHP 4 )……Page 212
IV. Funciones matemáticas de precisión arbitraria……Page 213
bcmul (PHP 3, PHP 4 )……Page 215
bcsub (PHP 3, PHP 4 )……Page 216
Small code example……Page 217
bzdecompress (PHP 4 >= 4.0.4)……Page 219
bzerrstr (PHP 4 >= 4.0.4)……Page 220
bzread (PHP 4 >= 4.0.4)……Page 221
bzwrite (PHP 4 >= 4.0.4)……Page 222
VI. Funciones de calendario……Page 223
JulianToJD (PHP 3, PHP 4 )……Page 225
JDMonthName (PHP 3, PHP 4 )……Page 226
easter_date (PHP 3>= 3.0.9, PHP 4 >= 4.0RC2)……Page 227
easter_days (PHP 3>= 3.0.9, PHP 4 >= 4.0RC2)……Page 228
VII. CCVS API Functions……Page 229
(unknown)……Page 231
VIII. soporte de las funciones COM para Windows……Page 233
com_propset (PHP 3>= 3.0.3, PHP 4 )……Page 235
com_set (PHP 3>= 3.0.3, PHP 4 )……Page 236
IX. Funciones de Clases/Objectos……Page 237
method_exists (PHP 4 >= 4.0b2)……Page 239
X. Funciones de ClibPDF……Page 241
cpdf_set_keywords (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 245
cpdf_page_init (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 246
cpdf_set_current_page (PHP 3>= 3.0.9, PHP 4 >= 4.0b4)……Page 247
cpdf_show (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 248
cpdf_set_leading (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 249
cpdf_set_text_pos (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 250
cpdf_stringwidth (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 251
cpdf_scale (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 252
cpdf_setlinewidth (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 253
cpdf_curveto (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 254
cpdf_arc (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 255
cpdf_closepath_stroke (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 256
cpdf_setgray_fill (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 257
cpdf_setrgbcolor_stroke (PHP 3>= 3.0.8, PHP 4 >= 4.0b4)……Page 258
cpdf_set_page_animation (PHP 3>= 3.0.9, PHP 4 >= 4.0b4)……Page 259
cpdf_add_annotation (PHP 3>= 3.0.12, PHP 4 >= 4.0b4)……Page 260
XI. CURL, Client URL Library Functions……Page 261
curl_setopt (PHP 4 >= 4.0.2)……Page 263
curl_version (PHP 4 >= 4.0.2)……Page 265
XII. Funciones de pago electrónico……Page 267
cybercash_base64_decode (PHP 4 >= 4.0b4)……Page 269
XIII. Character type functions……Page 271
ctype_graph (PHP 4 >= 4.0.4)……Page 273
ctype_xdigit (PHP 4 >= 4.0.4)……Page 274
XIV. Funciones de la capa de abstraccion de bases de datos (dbm-style)……Page 275
dba_fetch (PHP 3>= 3.0.8, PHP 4 >= 4.0b2)……Page 277
dba_nextkey (PHP 3>= 3.0.8, PHP 4 >= 4.0b2)……Page 278
dba_optimize (PHP 3>= 3.0.8, PHP 4 >= 4.0b2)……Page 279
dba_sync (PHP 3>= 3.0.8, PHP 4 >= 4.0b2)……Page 280
XV. Funciones de fecha y hora……Page 281
date (PHP 3, PHP 4 )……Page 283
getdate (PHP 3, PHP 4 )……Page 284
gmstrftime (PHP 3>= 3.0.12, PHP 4 >= 4.0RC2)……Page 285
mktime (PHP 3, PHP 4 )……Page 286
strftime (PHP 3, PHP 4 )……Page 287
time (PHP 3, PHP 4 )……Page 288
XVI. Funciones para dBase……Page 289
dbase_open (PHP 3, PHP 4 )……Page 291
dbase_replace_record (PHP 3>= 3.0.11, PHP 4 )……Page 292
dbase_numfields (PHP 3, PHP 4 )……Page 293
dbase_numrecords (PHP 3, PHP 4 )……Page 294
XVII. Funciones dbm……Page 295
dbminsert (PHP 3, PHP 4 )……Page 297
dbmnextkey (PHP 3, PHP 4 )……Page 298
dblist (PHP 3, PHP 4 )……Page 299
XVIII. dbx functions……Page 301
dbx_connect (PHP 4 CVS only)……Page 303
dbx_query (PHP 4 CVS only)……Page 304
dbx_sort (PHP 4 CVS only)……Page 306
dbx_cmp_desc (PHP 4 CVS only)……Page 307
XIX. Funciones con directorios……Page 309
opendir (PHP 3, PHP 4 )……Page 311
rewinddir (PHP 3, PHP 4 )……Page 312
XX. Funciones de DOM XML……Page 313
xmltree (PHP 4 >= 4.0b4)……Page 315
XXI. Error Handling and Logging Functions……Page 317
error_log (PHP 3, PHP 4 )……Page 319
set_error_handler (PHP 4 >= 4.0.1)……Page 320
trigger_error (PHP 4 >= 4.0.1)……Page 322
user_error (PHP 4 >= 4.0RC2)……Page 323
XXII. Funciones filePro……Page 325
filepro_fieldcount (PHP 3, PHP 4 )……Page 327
filepro_rowcount (PHP 3, PHP 4 )……Page 328
XXIII. Funciones del sistema de ficheros……Page 329
chmod (PHP 3, PHP 4 )……Page 331
copy (PHP 3, PHP 4 )……Page 332
diskfreespace (PHP 3>= 3.0.7, PHP 4 >= 4.0b4)……Page 333
fgetcsv (PHP 3>= 3.0.8, PHP 4 )……Page 334
fgetss (PHP 3, PHP 4 )……Page 335
filectime (PHP 3, PHP 4 )……Page 336
fileowner (PHP 3, PHP 4 )……Page 337
flock (PHP 3>= 3.0.7, PHP 4 )……Page 338
fopen (PHP 3, PHP 4 )……Page 339
fread (PHP 3, PHP 4 )……Page 340
set_file_buffer (PHP 3>= 3.0.8, PHP 4 >= 4.0.1)……Page 341
is_link (PHP 3, PHP 4 )……Page 342
linkinfo (PHP 3, PHP 4 )……Page 343
popen (PHP 3, PHP 4 )……Page 344
rename (PHP 3, PHP 4 )……Page 345
stat (PHP 3, PHP 4 )……Page 346
tempnam (PHP 3, PHP 4 )……Page 347
unlink (PHP 3, PHP 4 )……Page 348
XXIV. Funciones Forms Data Format (Formato de Datos de Formularios)……Page 351
fdf_create (PHP 3>= 3.0.6, PHP 4 )……Page 353
fdf_set_value (PHP 3>= 3.0.6, PHP 4 )……Page 354
fdf_set_file (PHP 3>= 3.0.6, PHP 4 )……Page 355
fdf_get_file (PHP 3>= 3.0.6, PHP 4 )……Page 356
XXV. Funciones FTP……Page 357
ftp_chdir (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 359
ftp_systype (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 360
ftp_fput (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 361
ftp_delete (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 362
ftp_quit (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 363
XXVI. Function Handling functions……Page 365
create_function (PHP 4 >= 4.0.1)……Page 367
func_get_args (PHP 4 >= 4.0b4)……Page 369
func_num_args (PHP 4 >= 4.0b4)……Page 370
register_shutdown_function (PHP 3>= 3.0.4, PHP 4 )……Page 371
XXVII. GNU Gettext……Page 373
gettext (PHP 3>= 3.0.7, PHP 4 )……Page 375
textdomain (PHP 3>= 3.0.7, PHP 4 )……Page 376
XXVIII. GMP functions……Page 377
gmp_strval (PHP 4 >= 4.0.4)……Page 379
gmp_div_q (PHP 4 >= 4.0.4)……Page 380
gmp_mod (PHP 4 >= 4.0.4)……Page 381
gmp_sign (PHP 4 >= 4.0.4)……Page 382
gmp_pow (PHP 4 >= 4.0.4)……Page 383
gmp_invert (PHP 4 >= 4.0.4)……Page 384
gmp_or (PHP 4 >= 4.0.4)……Page 385
gmp_scan1 (PHP 4 >= 4.0.4)……Page 386
gmp_hamdist (PHP 4 >= 4.0.4)……Page 387
XXIX. Funciones HTTP……Page 389
setcookie (PHP 3, PHP 4 )……Page 391
Introducción……Page 393
Integración con Apache……Page 395
Pendientes……Page 396
hw_Connect (PHP 3>= 3.0.3, PHP 4 )……Page 397
hw_DocByAnchorObj (PHP 3>= 3.0.3, PHP 4 )……Page 398
hw_DocumentSize (PHP 3>= 3.0.3, PHP 4 = 3.0.3, PHP 4 )……Page 400
hw_GetRemote (PHP 3>= 3.0.3, PHP 4 )……Page 401
hw_GetObject (PHP 3>= 3.0.3, PHP 4 )……Page 402
hw_GetText (PHP 3>= 3.0.3, PHP 4 )……Page 403
hw_GetObjectByQueryCollObj (PHP 3>= 3.0.3, PHP 4 )……Page 404
hw_Mv (PHP 3>= 3.0.3, PHP 4 )……Page 405
hw_InsColl (PHP 3>= 3.0.3, PHP 4 )……Page 406
hw_mapid (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 407
hw_Modifyobject (PHP 3>= 3.0.7, PHP 4 >= 4.0b2)……Page 408
hw_pConnect (PHP 3>= 3.0.3, PHP 4 )……Page 410
hw_Username (unknown)……Page 411
XXXI. Funciones para ICAP – Internet Calendar Application Protocol……Page 413
icap_fetch_event (PHP 4 >= 4.0b4)……Page 415
icap_store_event (PHP 4 >= 4.0b4)……Page 416
icap_list_alarms (PHP 4 >= 4.0b4)……Page 417
XXXII. Funciones de imágenes……Page 419
ImageChar (PHP 3, PHP 4 )……Page 421
ImageColorClosest (PHP 3, PHP 4 )……Page 422
ImageColorsForIndex (PHP 3, PHP 4 )……Page 423
ImageCreate (PHP 3, PHP 4 )……Page 424
ImageDestroy (PHP 3, PHP 4 )……Page 425
ImageFontHeight (PHP 3, PHP 4 )……Page 426
ImageLine (PHP 3, PHP 4 )……Page 427
ImagePSBBox (PHP 3>= 3.0.9, PHP 4 >= 4.0RC1)……Page 428
ImagePSLoadFont (PHP 3>= 3.0.9, PHP 4 >= 4.0RC1)……Page 429
ImageRectangle (PHP 3, PHP 4 )……Page 430
ImageSX (PHP 3, PHP 4 )……Page 431
ImageTTFText (PHP 3, PHP 4 )……Page 432
XXXIII. Funciones IMAP……Page 435
imap_check (PHP 3, PHP 4 )……Page 437
imap_deletemailbox (PHP 3, PHP 4 )……Page 438
imap_fetchstructure (PHP 3, PHP 4 )……Page 439
imap_header (PHP 3, PHP 4 )……Page 440
imap_listmailbox (PHP 3, PHP 4 )……Page 442
imap_mail_copy (PHP 3, PHP 4 )……Page 443
imap_open (PHP 3, PHP 4 )……Page 444
imap_reopen (PHP 3, PHP 4 )……Page 445
imap_qprint (PHP 3, PHP 4 )……Page 446
imap_mailboxmsginfo (PHP 3>= 3.0.2, PHP 4 )……Page 447
imap_setflag_full (PHP 3>= 3.0.3, PHP 4 )……Page 448
imap_fetchheader (PHP 3>= 3.0.3, PHP 4 )……Page 449
imap_search (PHP 3>= 3.0.12, PHP 4 >= 4.0b4)……Page 450
imap_errors (PHP 3>= 3.0.12, PHP 4 >= 4.0b4)……Page 451
imap_status (PHP 3>= 3.0.4, PHP 4 )……Page 452
XXXIV. Funciones para Informix……Page 453
ifx_close (PHP 3>= 3.0.3, PHP 4 )……Page 455
ifx_query (PHP 3>= 3.0.3, PHP 4 )……Page 456
ifx_prepare (PHP 3>= 3.0.4, PHP 4 )……Page 457
ifx_errormsg (PHP 3>= 3.0.4, PHP 4 )……Page 458
ifx_getsqlca (PHP 3>= 3.0.8, PHP 4 )……Page 459
ifx_fetch_row (PHP 3>= 3.0.3, PHP 4 )……Page 460
ifx_fieldtypes (PHP 3>= 3.0.3, PHP 4 )……Page 461
ifx_num_rows (PHP 3>= 3.0.3, PHP 4 )……Page 462
ifx_get_char (PHP 3>= 3.0.6, PHP 4 )……Page 463
ifx_update_blob (PHP 3>= 3.0.4, PHP 4 )……Page 464
ifxus_create_slob (PHP 3>= 3.0.4, PHP 4 )……Page 465
ifxus_seek_slob (PHP 3>= 3.0.4, PHP 4 )……Page 466
ifxus_write_slob (PHP 3>= 3.0.4, PHP 4 )……Page 467
XXXV. Funciones InterBase……Page 469
ibase_bind (3.0.6 – 3.0.7 only, PHP 4 = 3.0.6, PHP 4 )……Page 472
XXXVI. Ingres II functions……Page 473
ingres_pconnect (PHP 4 >= 4.0.2)……Page 475
ingres_query (PHP 4 >= 4.0.2)……Page 476
ingres_field_name (PHP 4 >= 4.0.2)……Page 477
ingres_field_precision (PHP 4 >= 4.0.2)……Page 478
ingres_fetch_array (PHP 4 >= 4.0.2)……Page 479
ingres_fetch_object (PHP 4 >= 4.0.2)……Page 480
ingres_autocommit (PHP 4 >= 4.0.2)……Page 481
Ejemplo de código completo……Page 483
Más información……Page 484
ldap_mod_add (PHP 3>= 3.0.8, PHP 4 )……Page 487
ldap_close (PHP 3, PHP 4 )……Page 488
ldap_explode_dn (PHP 3, PHP 4 )……Page 489
ldap_free_result (PHP 3, PHP 4 )……Page 490
ldap_get_dn (PHP 3, PHP 4 )……Page 491
ldap_get_values (PHP 3, PHP 4 )……Page 492
ldap_list (PHP 3, PHP 4 )……Page 493
ldap_next_entry (PHP 3, PHP 4 )……Page 494
ldap_search (PHP 3, PHP 4 )……Page 495
ldap_err2str (PHP 3>= 3.0.13, PHP 4 >= 4.0RC2)……Page 496
ldap_error (PHP 3>= 3.0.12, PHP 4 >= 4.0RC2)……Page 497
XXXVIII. Funciones de Correo……Page 499
mail (PHP 3, PHP 4 )……Page 501
Constantes matemáticas……Page 503
Atan2 (PHP 3>= 3.0.5, PHP 4 )……Page 505
Cos (PHP 3, PHP 4 )……Page 506
Exp (PHP 3, PHP 4 )……Page 507
Log10 (PHP 3, PHP 4 )……Page 508
mt_rand (PHP 3>= 3.0.6, PHP 4 )……Page 509
OctDec (PHP 3, PHP 4 )……Page 510
round (PHP 3, PHP 4 )……Page 511
Tan (PHP 3, PHP 4 )……Page 512
XL. MCAL functions……Page 513
mcal_fetch_event (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 515
mcal_delete_event (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 516
mcal_event_set_category (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 517
mcal_event_set_alarm (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 518
mcal_time_valid (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 519
mcal_event_set_recur_none (PHP 3>= 3.0.15, PHP 4 >= 4.0RC1)……Page 520
mcal_event_set_recur_yearly (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 521
mcal_event_add_attribute (PHP 3>= 3.0.15, PHP 4 >= 4.0RC1)……Page 522
XLI. Funciones Criptográficas……Page 523
mcrypt_get_key_size (PHP 3>= 3.0.8, PHP 4 )……Page 525
mcrypt_cfb (PHP 3>= 3.0.8, PHP 4 )……Page 526
mcrypt_ofb (PHP 3>= 3.0.8, PHP 4 )……Page 527
XLII. Funciones Hash……Page 529
mhash_count (PHP 3>= 3.0.9, PHP 4 )……Page 531
mhash (PHP 3>= 3.0.9, PHP 4 )……Page 532
XLIII. Funciones de Microsoft SQL Server……Page 533
mssql_fetch_array (PHP 3, PHP 4 )……Page 535
mssql_fetch_row (PHP 3, PHP 4 )……Page 536
mssql_num_rows (PHP 3, PHP 4 )……Page 537
mssql_result (PHP 3, PHP 4 )……Page 538
mssql_select_db (PHP 3, PHP 4 )……Page 539
How to use Ming……Page 541
SWFMovie->add (unknown)……Page 543
SWFMovie->setdimension (unknown)……Page 544
SWFDisplayItem (unknown)……Page 545
SWFDisplayItem->scaleTo (unknown)……Page 546
SWFDisplayItem->rotateTo (unknown)……Page 547
SWFDisplayItem->Rotate (unknown)……Page 548
SWFDisplayItem->skewY (unknown)……Page 549
SWFDisplayItem->setRatio (unknown)……Page 550
SWFDisplayItem->multColor (unknown)……Page 552
SWFShape->setLine (unknown)……Page 553
SWFShape->addFill (unknown)……Page 555
SWFShape->setRightFill (unknown)……Page 556
SWFShape->drawLine (unknown)……Page 557
SWFGradient (PHP 4 CVS only)……Page 558
SWFBitmap (PHP 4 CVS only)……Page 559
SWFFill (PHP 4 CVS only)……Page 561
SWFFill->skewYTo (unknown)……Page 562
SWFMorph (PHP 4 CVS only)……Page 563
SWFMorph (PHP 4 CVS only)……Page 564
SWFText->moveTo (unknown)……Page 565
SWFFont (PHP 4 CVS only)……Page 566
SWFTextField->setFont (unknown)……Page 567
SWFTextField->setrightMargin (unknown)……Page 568
SWFTextField->addstring (unknown)……Page 569
SWFSprite (PHP 4 CVS only)……Page 570
SWFbutton (PHP 4 CVS only)……Page 571
SWFbutton->setHit (unknown)……Page 574
SWFAction (PHP 4 CVS only)……Page 575
XLV. Miscelánea de funciones……Page 585
define (PHP 3, PHP 4 )……Page 587
eval (unknown)……Page 588
get_browser (PHP 3, PHP 4 )……Page 589
iptcparse (PHP 3>= 3.0.6, PHP 4 )……Page 590
pack (PHP 3, PHP 4 )……Page 591
serialize (PHP 3>= 3.0.5, PHP 4 )……Page 592
unpack (PHP 3, PHP 4 )……Page 593
usleep (PHP 3, PHP 4 )……Page 594
XLVI. mnoGoSearch Functions……Page 597
udm_alloc_agent (PHP 4 CVS only)……Page 599
udm_errno (PHP 4 CVS only)……Page 600
udm_free_agent (PHP 4 CVS only)……Page 601
udm_get_res_field (PHP 4 CVS only)……Page 602
udm_load_ispell_data (PHP 4 CVS only)……Page 603
udm_set_agent_param (PHP 4 CVS only)……Page 605
XLVII. funciones mSQL……Page 609
msql_connect (PHP 3, PHP 4 )……Page 611
msql_dbname (PHP 3, PHP 4 )……Page 612
msql_fetch_array (PHP 3, PHP 4 )……Page 613
msql_fetch_row (PHP 3, PHP 4 )……Page 614
msql_fieldtype (PHP 3, PHP 4 )……Page 615
msql_list_fields (PHP 3, PHP 4 )……Page 616
msql_num_fields (PHP 3, PHP 4 )……Page 617
msql_query (PHP 3, PHP 4 )……Page 618
msql_select_db (PHP 3, PHP 4 )……Page 619
msql_tablename (PHP 3, PHP 4 )……Page 620
XLVIII. Funciones MySQL……Page 621
mysql_close (PHP 3, PHP 4 )……Page 623
mysql_create_db (PHP 3, PHP 4 )……Page 624
mysql_data_seek (PHP 3, PHP 4 )……Page 625
mysql_errno (PHP 3, PHP 4 )……Page 626
mysql_fetch_array (PHP 3, PHP 4 )……Page 627
mysql_fetch_lengths (PHP 3, PHP 4 )……Page 628
mysql_field_name (PHP 3, PHP 4 )……Page 629
mysql_field_type (PHP 3, PHP 4 )……Page 630
mysql_insert_id (PHP 3, PHP 4 )……Page 631
mysql_num_fields (PHP 3, PHP 4 )……Page 632
mysql_query (PHP 3, PHP 4 )……Page 633
mysql_result (PHP 3, PHP 4 )……Page 634
mysql_tablename (PHP 3, PHP 4 )……Page 635
XLIX. Funciones de Red……Page 637
fsockopen (PHP 3, PHP 4 )……Page 639
gethostbyname (PHP 3, PHP 4 )……Page 640
getservbyname (PHP 4 >= 4.0b4)……Page 641
syslog (PHP 3, PHP 4 )……Page 642
L. ODBC functions……Page 645
odbc_binmode (PHP 3>= 3.0.6, PHP 4 )……Page 647
odbc_connect (PHP 3>= 3.0.6, PHP 4 )……Page 648
odbc_execute (PHP 3>= 3.0.6, PHP 4 )……Page 649
odbc_field_type (PHP 3>= 3.0.6, PHP 4 )……Page 650
odbc_num_fields (PHP 3>= 3.0.6, PHP 4 )……Page 651
odbc_result (PHP 3>= 3.0.6, PHP 4 )……Page 652
odbc_setoption (PHP 3>= 3.0.6, PHP 4 )……Page 653
LI. Funciones de Oracle 8……Page 655
OCIBindByName (PHP 3>= 3.0.4, PHP 4 )……Page 657
OCILogon (PHP 3>= 3.0.4, PHP 4 )……Page 658
OCINLogon (PHP 3>= 3.0.8, PHP 4 )……Page 660
OCIExecute (PHP 3>= 3.0.4, PHP 4 )……Page 662
OCINewDescriptor (PHP 3>= 3.0.7, PHP 4 )……Page 663
OCIRowCount (PHP 3>= 3.0.7, PHP 4 )……Page 664
OCIResult (PHP 3>= 3.0.4, PHP 4 )……Page 665
OCIFetchStatement (PHP 3>= 3.0.8, PHP 4 )……Page 666
OCIColumnSize (PHP 3>= 3.0.4, PHP 4 )……Page 667
OCIStatementType (PHP 3>= 3.0.5, PHP 4 )……Page 668
OCINewCursor (PHP 3>= 3.0.8, PHP 4 )……Page 669
OCIFreeCursor (PHP 3>= 3.0.8, PHP 4 )……Page 670
OCIColumnType (PHP 3>= 3.0.4, PHP 4 )……Page 671
OCIError (PHP 3>= 3.0.7, PHP 4 )……Page 672
OCIInternalDebug (PHP 3>= 3.0.4, PHP 4 )……Page 673
PKCS7 Flags/Constants……Page 675
openssl_get_publickey (PHP 4 >= 4.0.4)……Page 677
openssl_seal (PHP 4 >= 4.0.4)……Page 678
openssl_sign (PHP 4 >= 4.0.4)……Page 679
openssl_pkcs7_decrypt (PHP 4 CVS only)……Page 680
openssl_pkcs7_encrypt (PHP 4 CVS only)……Page 681
openssl_pkcs7_verify (PHP 4 CVS only)……Page 682
openssl_x509_checkpurpose (PHP 4 CVS only)……Page 683
openssl_x509_read (PHP 4 CVS only)……Page 684
LIII. Funciones Oracle……Page 685
Ora_ColumnName (PHP 3, PHP 4 )……Page 687
Ora_CommitOn (PHP 3, PHP 4 )……Page 688
Ora_Exec (PHP 3, PHP 4 )……Page 689
Ora_Logon (PHP 3, PHP 4 )……Page 690
Ora_Rollback (PHP 3, PHP 4 )……Page 691
LIV. Ovrimos SQL functions……Page 693
ovrimos_close_all (PHP 4 >= 4.0.3)……Page 695
ovrimos_execute (PHP 4 >= 4.0.3)……Page 696
ovrimos_fetch_into (PHP 4 >= 4.0.3)……Page 697
ovrimos_fetch_row (PHP 4 >= 4.0.3)……Page 698
ovrimos_result_all (PHP 4 >= 4.0.3)……Page 699
ovrimos_num_rows (PHP 4 >= 4.0.3)……Page 700
ovrimos_field_num (PHP 4 >= 4.0.3)……Page 701
ovrimos_rollback (PHP 4 >= 4.0.3)……Page 702
LV. Output Control Functions……Page 703
ob_end_flush (PHP 4 )……Page 705
ob_implicit_flush (PHP 4 >= 4.0b4)……Page 706
LVI. PDF functions……Page 707
PDF_open (PHP 3>= 3.0.6, PHP 4 )……Page 711
PDF_end_page (PHP 3>= 3.0.6, PHP 4 )……Page 712
PDF_set_font (PHP 3>= 3.0.6, PHP 4 )……Page 713
PDF_set_value (PHP 4 >= 4.0.1)……Page 714
PDF_set_text_rise (PHP 3>= 3.0.6, PHP 4 )……Page 715
PDF_skew (PHP 4 >= 4.0RC1)……Page 716
PDF_restore (PHP 3>= 3.0.6, PHP 4 )……Page 717
PDF_setflat (PHP 3>= 3.0.6, PHP 4 )……Page 718
PDF_setdash (PHP 3>= 3.0.6, PHP 4 )……Page 719
PDF_arc (PHP 3>= 3.0.6, PHP 4 )……Page 720
PDF_closepath_stroke (PHP 3>= 3.0.6, PHP 4 )……Page 721
PDF_endpath (PHP 3>= 3.0.6, PHP 4 )……Page 722
PDF_setrgbcolor_fill (PHP 3>= 3.0.6, PHP 4 )……Page 723
PDF_set_transition (PHP 3>= 3.0.6, PHP 4 )……Page 724
PDF_open_png (PHP 4 >= 4.0RC2)……Page 725
PDF_close_image (PHP 3>= 3.0.7, PHP 4 >= 4.0b2)……Page 726
PDF_execute_image (PHP 3>= 3.0.7, 4.0b2 – 4.0b4 only)……Page 727
PDF_set_border_dash (PHP 4 >= 4.0.1)……Page 728
LVII. Verisign Payflow Pro functions……Page 731
pfpro_process (PHP 4 >= 4.0.2)……Page 733
pfpro_process_raw (PHP 4 >= 4.0.2)……Page 734
pfpro_version (PHP 4 >= 4.0.2)……Page 735
LVIII. opciones e información de PHP……Page 737
get_current_user (PHP 3, PHP 4 )……Page 739
getmyinode (PHP 3, PHP 4 )……Page 740
phpinfo (PHP 3, PHP 4 )……Page 741
putenv (PHP 3, PHP 4 )……Page 742
zend_logo_guid (PHP 4 >= 4.0b4)……Page 743
LIX. Funciones POSIX……Page 745
posix_geteuid (PHP 3>= 3.0.10, PHP 4 >= 4.0b4)……Page 747
posix_getgroups (PHP 3>= 3.0.10, PHP 4 >= 4.0b4)……Page 748
posix_getpgid (PHP 3>= 3.0.10, PHP 4 >= 4.0b4)……Page 749
posix_times (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 750
posix_mkfifo (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 751
posix_getpwnam (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 752
posix_getpwuid (PHP 3>= 3.0.13, PHP 4 >= 4.0b4)……Page 753
posix_getrlimit (PHP 3>= 3.0.10, PHP 4 >= 4.0b4)……Page 754
LX. Funciones de PostgreSQL……Page 755
pg_DBname (PHP 3, PHP 4 )……Page 757
pg_Fetch_Array (PHP 3>= 3.0.1, PHP 4 )……Page 758
pg_Fetch_Object (PHP 3>= 3.0.1, PHP 4 )……Page 759
pg_Fetch_Row (PHP 3>= 3.0.1, PHP 4 )……Page 760
pg_FieldNum (PHP 3, PHP 4 )……Page 761
pg_GetLastOid (PHP 3, PHP 4 )……Page 762
pg_loread (PHP 3, PHP 4 )……Page 763
pg_NumFields (PHP 3, PHP 4 )……Page 764
pg_Result (PHP 3, PHP 4 )……Page 765
pg_tty (PHP 3, PHP 4 )……Page 766
LXI. Funciones de ejecución de programas……Page 767
passthru (PHP 3, PHP 4 )……Page 769
system (PHP 3, PHP 4 )……Page 770
LXII. Pspell Functions……Page 771
pspell_check (PHP 4 >= 4.0.2)……Page 773
pspell_suggest (PHP 4 >= 4.0.2)……Page 774
LXIII. GNU Readline……Page 775
readline_completion_function (PHP 4 >= 4.0b4)……Page 777
readline_write_history (PHP 4 >= 4.0b4)……Page 778
LXIV. Funciones GNU Recode……Page 779
recode_file (PHP 3>= 3.0.13, PHP 4 >= 4.0RC1)……Page 781
LXV. Funciones de expresiones regulares compatibles con Perl……Page 783
preg_match_all (PHP 3>= 3.0.9, PHP 4 )……Page 785
preg_replace (PHP 3>= 3.0.9, PHP 4 )……Page 786
preg_split (PHP 3>= 3.0.9, PHP 4 )……Page 787
Modificadores de Patrones (unknown)……Page 788
Sintaxis de los Patrones (unknown)……Page 789
LXVI. Funciones para expresiones regulares……Page 807
ereg_replace (PHP 3, PHP 4 )……Page 809
split (PHP 3, PHP 4 )……Page 810
sql_regcase (PHP 3, PHP 4 )……Page 811
LXVII. Satellite CORBA client extension……Page 813
OrbitEnum (unknown)……Page 815
OrbitStruct (unknown)……Page 816
satellite_exception_value (PHP 4 >= 4.0.3)……Page 817
LXVIII. Funciones Semáforo y de memoria compartida……Page 819
shm_attach (PHP 3>= 3.0.6, PHP 4 )……Page 821
shm_get_var (PHP 3>= 3.0.6, PHP 4 )……Page 822
shm_remove_var (PHP 3>= 3.0.6, PHP 4 )……Page 823
LXIX. SESAM database functions……Page 825
sesam_disconnect (PHP 3 CVS only)……Page 829
sesam_commit (PHP 3 CVS only)……Page 830
sesam_execimm (PHP 3 CVS only)……Page 831
sesam_query (PHP 3 CVS only)……Page 832
sesam_field_name (PHP 3 CVS only)……Page 833
sesam_diagnostic (PHP 3 CVS only)……Page 834
sesam_affected_rows (PHP 3 CVS only)……Page 836
sesam_field_array (PHP 3 CVS only)……Page 837
sesam_fetch_row (PHP 3 CVS only)……Page 839
sesam_fetch_array (PHP 3 CVS only)……Page 841
sesam_free_result (PHP 3 CVS only)……Page 842
LXX. Funciones para la Gestión de Sesiones……Page 845
session_name (PHP 4 )……Page 849
session_id (PHP 4 )……Page 850
session_is_registered (PHP 4 )……Page 851
session_encode (PHP 4 )……Page 852
LXXI. Shared Memory Functions……Page 853
shmop_read (PHP 4 >= 4.0.4)……Page 855
shmop_delete (PHP 4 >= 4.0.4)……Page 856
shmop_close (PHP 4 >= 4.0.4)……Page 857
LXXII. Shockwave Flash functions……Page 859
swf_setframe (PHP 4 >= 4.0RC2)……Page 861
swf_placeobject (PHP 4 >= 4.0RC2)……Page 862
swf_actiongotoframe (PHP 4 >= 4.0RC2)……Page 863
swf_actiontogglequality (PHP 4 >= 4.0RC2)……Page 864
swf_defineline (PHP 4 >= 4.0RC2)……Page 865
swf_shapefilloff (PHP 4 >= 4.0RC2)……Page 866
swf_shapelineto (PHP 4 >= 4.0RC2)……Page 867
swf_definefont (PHP 4 >= 4.0RC2)……Page 868
swf_getfontinfo (PHP 4 >= 4.0RC2)……Page 869
swf_getbitmapinfo (PHP 4 >= 4.0RC2)……Page 870
swf_addbuttonrecord (PHP 4 >= 4.0RC2)……Page 871
swf_viewport (PHP 4 >= 4.0RC2)……Page 872
swf_polarview (PHP 4 >= 4.0RC2)……Page 873
swf_translate (PHP 4 >= 4.0RC2)……Page 874
swf_posround (PHP 4 >= 4.0RC2)……Page 875
LXXIII. Funciones SNMP……Page 877
snmpwalk (PHP 3, PHP 4 )……Page 879
snmp_get_quick_print (PHP 3>= 3.0.8, PHP 4 >= 4.0b2)……Page 880
snmp_set_quick_print (PHP 3>= 3.0.8, PHP 4 >= 4.0b2)……Page 881
LXXIV. Socket functions……Page 883
connect (PHP 4 >= 4.0.2)……Page 887
strerror (PHP 4 >= 4.0.2)……Page 888
LXXV. Funciones de cadenas……Page 891
Chop (PHP 3, PHP 4 )……Page 893
convert_cyr_string (PHP 3>= 3.0.6, PHP 4 )……Page 894
crypt (PHP 3, PHP 4 )……Page 895
echo (unknown)……Page 896
get_html_translation_table (PHP 4 >= 4.0b4)……Page 897
htmlentities (PHP 3, PHP 4 )……Page 898
implode (PHP 3, PHP 4 )……Page 899
md5 (PHP 3, PHP 4 )……Page 900
parse_str (PHP 3, PHP 4 )……Page 901
quotemeta (PHP 3, PHP 4 )……Page 902
sscanf (PHP 4 >= 4.0.1)……Page 903
soundex (PHP 3, PHP 4 )……Page 904
sprintf (PHP 3, PHP 4 )……Page 905
strchr (PHP 3, PHP 4 )……Page 906
stripcslashes (PHP 4 >= 4.0b4)……Page 907
strnatcmp (PHP 4 >= 4.0RC2)……Page 908
strncmp (PHP 4 >= 4.0b4)……Page 909
strpos (PHP 3, PHP 4 )……Page 910
str_repeat (PHP 4 >= 4.0b4)……Page 911
strstr (PHP 3, PHP 4 )……Page 912
strtolower (PHP 3, PHP 4 )……Page 913
str_replace (PHP 3>= 3.0.6, PHP 4 )……Page 914
substr (PHP 3, PHP 4 )……Page 915
substr_replace (PHP 4 >= 4.0b4)……Page 916
ucfirst (PHP 3, PHP 4 )……Page 917
wordwrap (PHP 4 >= 4.0.2)……Page 918
LXXVI. Funciones de Sybase……Page 919
sybase_connect (PHP 3, PHP 4 )……Page 921
sybase_fetch_field (PHP 3, PHP 4 )……Page 922
sybase_free_result (PHP 3, PHP 4 )……Page 923
sybase_query (PHP 3, PHP 4 )……Page 924
sybase_select_db (PHP 3, PHP 4 )……Page 925
LXXVII. Funciones URL……Page 927
urldecode (PHP 3, PHP 4 )……Page 929
urlencode (PHP 3, PHP 4 )……Page 930
LXXVIII. Funciones sobre variables……Page 931
intval (PHP 3, PHP 4 )……Page 933
is_integer (PHP 3, PHP 4 )……Page 934
is_string (PHP 3, PHP 4 )……Page 935
strval (PHP 3, PHP 4 )……Page 936
unset (unknown)……Page 937
LXXIX. Funciones WDDX……Page 939
wddx_packet_start (PHP 3>= 3.0.7, PHP 4 >= 4.0b2)……Page 941
wddx_deserialize (PHP 3>= 3.0.7, PHP 4 >= 4.0b2)……Page 942
Sobre Esta Extensión……Page 943
Códigos de Error……Page 944
Ejemplos de Estructuras de Elementos XML……Page 945
Ejemplo de Mapeo de Etiquetas XML……Page 946
Ejemplo de Entidad Externa XML……Page 947
xml_set_object (PHP 4 >= 4.0b4)……Page 951
xml_set_element_handler (PHP 3>= 3.0.6, PHP 4 )……Page 952
xml_set_processing_instruction_handler (PHP 3>= 3.0.6, PHP 4 )……Page 953
xml_set_unparsed_entity_decl_handler (PHP 3>= 3.0.6, PHP 4 )……Page 954
xml_set_notation_decl_handler (PHP 3>= 3.0.6, PHP 4 )……Page 955
xml_set_external_entity_ref_handler (PHP 3>= 3.0.6, PHP 4 )……Page 956
xml_parse (PHP 3>= 3.0.6, PHP 4 )……Page 957
xml_get_current_column_number (PHP 3>= 3.0.6, PHP 4 )……Page 958
xml_parser_set_option (PHP 3>= 3.0.6, PHP 4 )……Page 959
utf8_decode (PHP 3>= 3.0.6, PHP 4 )……Page 960
utf8_encode (PHP 3>= 3.0.6, PHP 4 )……Page 961
About This Extension……Page 963
xslt_fetch_result (PHP 4 >= 4.0.3)……Page 965
xslt_output_process (unknown)……Page 966
xslt_transform (PHP 4 >= 4.0.3)……Page 967
LXXXII. YAZ……Page 969
yaz_error (PHP 4 >= 4.0.1)……Page 971
yaz_search (PHP 4 >= 4.0.1)……Page 972
yaz_wait (PHP 4 >= 4.0.1)……Page 973
LXXXIII. NIS funciona……Page 975
yp_master (PHP 3>= 3.0.7, PHP 4 )……Page 977
yp_next (PHP 3>= 3.0.7, PHP 4 )……Page 978
yp_err_string (PHP 4 CVS only)……Page 979
Pequeño código de ejemlo……Page 981
gzgets (PHP 3, PHP 4 )……Page 983
gzopen (PHP 3, PHP 4 )……Page 984
gzrewind (PHP 3, PHP 4 )……Page 985
gzwrite (PHP 3, PHP 4 )……Page 986
readgzfile (PHP 3, PHP 4 )……Page 987
Capítulo 23. About PEAR……Page 989
What is PEAR?……Page 991
Capítulo 24. PEAR Coding Standards……Page 993
Function Calls……Page 995
Comments……Page 996
CVS Tags……Page 997
Naming Constants……Page 998
LXXXV. PEAR Reference Manual……Page 999
PEAR Error Handling……Page 1001
Synopsis……Page 1003
Description……Page 1004
Apéndice A. Migrando de PHP/FI 2.0 a PHP 3.0……Page 1005
sintáxis de if..endif……Page 1007
Tipos de expresiones……Page 1008
Otras incompatibilidades……Page 1009
Apéndice B. Migrating from PHP 3.0 to PHP 4.0……Page 1011
Configuration changes……Page 1013
Deprecate functions and extensions……Page 1014
Cookies……Page 1015
Apéndice C. Desarrollo en PHP……Page 1017
Usando los Argumentos de Función……Page 1019
Manejo de Memoria en las Funciones……Page 1020
Asignando Variables en la Tabla de Símbolos……Page 1021
Devolviendo valores simples……Page 1022
Devolviendo valores complejos……Page 1023
Usando la lista de recursos……Page 1024
Utilizando la tabla de recursos persistentes……Page 1025
Llamando a Funciones del Usuario……Page 1026
E_WARNING……Page 1027
E_CORE_WARNING……Page 1028
Apéndice D. El debugger de PHP……Page 1029
Protocolo del debugger……Page 1031
Apéndice E. PHP reserved words……Page 1033
Apéndice F. PHP’s resource types……Page 1037

Reviews

There are no reviews yet.

Be the first to review “Manual de PHP”
Shopping Cart
Scroll to Top