Create bookmark
Programming PHP
Creating Dynamic Web Pages
Notes
Please login to add notes
- Table of Contents
- Foreword
-
+
Preface
- + Introduction to PHP
-
+
Language Basics
-
+
Functions
-
+
Strings
- + Arrays
-
+
Objects
-
+
Web Techniques
-
+
Databases
-
+
Graphics
-
+
PDF
- + XML
-
+
Security
-
+
Application Techniques
- + Extending PHP
- + PHP on Windows
-
+
Function Reference
- + PHP Functions by Category
-
+
Alphabetical Listing of PHP Functions
- abs
- acos
- acosh
- addcslashes
- addslashes
- Array
- array_change_key_case
- array_chunk
- array_combine
- array_count_values
- array_diff
- array_diff_assoc
- array_diff_uassoc
- array_fill
- array_filter
- array_flip
- array_intersect
- array_intersect_assoc
- array_intersect_uassoc
- array_key_exists
- array_keys
- array_map
- array_merge
- array_merge_recursive
- array_multisort
- array_pad
- array_pop
- array_push
- array_rand
- array_reduce
- array_reverse
- array_search
- array_shift
- array_slice
- array_splice
- array_sum
- array_udiff
- array_udiff_assoc
- array_udiff_uassoc
- array_uintersect
- array_uintersect_assoc
- array_uintersect_uassoc
- array_unique
- array_unshift
- array_values
- array_walk
- array_walk_recursive
- arsort
- asin
- asinh
- asort
- assert
- assert_options
- atan
- atan2
- atanh
- base64_decode
- base64_encode
- base_convert
- basename
- bin2hex
- bindec
- call_user_func
- call_user_func_array
- call_user_method
- call_user_method_array
- ceil
- chdir
- checkdate
- checkdnsrr
- chgrp
- chmod
- chop
- chown
- chr
- chroot
- chunk_split
- class_exists
- class_implements
- class_parents
- clearstatcache
- closedir
- closelog
- compact
- connection_aborted
- connection_status
- constant
- convert_cyr_string
- convert_uudecode
- convert_uuencode
- copy
- cos
- cosh
- count
- count_chars
- crc32
- create_function
- crypt
- ctype_alnum
- ctype_alpha
- ctype_cntrl
- ctype_digit
- ctype_graph
- ctype_lower
- ctype_print
- ctype_punct
- ctype_space
- ctype_upper
- ctype_xdigit
- current
- date
- date_sunrise
- date_sunset
- debug_backtrace
- debug_print_backtrace
- decbin
- dechex
- decoct
- define
- defined
- define_syslog_variables
- deg2rad
- dir
- dirname
- diskfreespace
- disk_free_space
- disk_total_space
- dl
- dns_check_record
- dns_get_mx
- doubleval
- each
- echo
- empty
- end
- ereg
- ereg_replace
- eregi
- eregi_replace
- error_log
- error_reporting
- escapeshellarg
- escapeshellcmd
- exec
- exp
- explode
- extension_loaded
- extract
- fclose
- feof
- fflush
- fgetc
- fgetcsv
- fgets
- fgetss
- file
- file_exists
- fileatime
- filectime
- file_get_contents
- filegroup
- fileinode
- filemtime
- fileowner
- fileperms
- file_put_contents
- filesize
- filetype
- floatval
- flock
- floor
- flush
- fmod
- fnmatch
- fopen
- fpassthru
- fprintf
- fputs
- fread
- fscanf
- fseek
- fsockopen
- fstat
- ftell
- ftruncate
- func_get_arg
- func_get_args
- func_num_args
- function_exists
- fwrite
- get_browser
- get_cfg_var
- get_class
- get_class_methods
- get_class_vars
- get_current_user
- get_declared_classes
- get_declared_interfaces
- get_defined_constants
- get_defined_functions
- get_defined_vars
- get_extension_funcs
- get_headers
- get_html_translation_table
- getimagesize
- get_included_files
- get_include_path
- get_loaded_extensions
- get_magic_quotes_gpc
- get_magic_quotes_runtime
- get_meta_tags
- getmygid
- getmyuid
- get_object_vars
- get_parent_class
- get_required_files
- get_resource_type
- getcwd
- getdate
- getenv
- gethostbyaddr
- gethostbyname
- gethostbynamel
- getlastmod
- getmxrr
- getmyinode
- getmypid
- getprotobyname
- getprotobynumber
- getrandmax
- getrusage
- getservbyname
- getservbyport
- gettimeofday
- gettype
- glob
- gmdate
- gmmktime
- gmstrftime
- header
- headers_list
- headers_sent
- hebrev
- hebrevc
- hexdec
- highlight_file
- highlight_string
- htmlentities
- html_entity_decode
- htmlspecialchars
- http_build_query
- hypot
- idate
- ignore_user_abort
- image_type_to_mime_type
- implode
- import_request_variables
- in_array
- ini_alter
- ini_get
- ini_get_all
- ini_restore
- ini_set
- interface_exists
- intval
- ip2long
- iptcparse
- is_a
- is_array
- is_bool
- is_callable
- is_dir
- is_double
- is_executable
- is_file
- is_finite
- is_float
- is_infinite
- is_int
- is_integer
- is_link
- is_long
- is_nan
- is_null
- is_numeric
- is_object
- is_readable
- is_real
- is_resource
- is_scalar
- is_string
- is_subclass_of
- is_uploaded_file
- is_writable
- is_writeable
- isset
- join
- key
- krsort
- ksort
- lcg_value
- levenshtein
- link
- linkinfo
- list
- localeconv
- localtime
- log
- log10
- log1p
- long2ip
- lstat
- ltrim
- max
- md5
- md5_file
- metaphone
- method_exists
- microtime
- min
- mkdir
- mktime
- money_format
- move_uploaded_file
- mt_getrandmax
- mt_rand
- mt_srand
- natcasesort
- natsort
- next
- nl_langinfo
- nl2br
- number_format
- ob_clean
- ob_end_clean
- ob_end_flush
- ob_flush
- ob_get_clean
- ob_get_contents
- ob_get_flush
- ob_get_length
- ob_get_level
- ob_gzhandler
- ob_implicit_flush
- ob_list_handlers
- ob_start
- octdec
- opendir
- openlog
- ord
- output_add_rewrite_var
- output_reset_rewrite_vars
- pack
- parse_ini_file
- parse_str
- parse_url
- passthru
- pathinfo
- pclose
- pfsockopen
- php_ini_scanned_files
- php_logo_guid
- php_sapi_name
- php_uname
- phpcredits
- phpinfo
- phpversion
- pi
- popen
- pos
- pow
- prev
- print_r
- printf
- putenv
- quoted_printable_decode
- quotemeta
- rad2deg
- rand
- range
- rawurldecode
- rawurlencode
- readdir
- readfile
- readlink
- realpath
- register_shutdown_function
- register_tick_function
- rename
- reset
- restore_error_handler
- restore_exception_handler
- restore_include_path
- rewind
- rewinddir
- rmdir
- round
- rsort
- rtrim
- serialize
- set_error_handler
- set_exception_handler
- set_file_buffer
- set_include_path
- set_magic_quotes_runtime
- set_time_limit
- setcookie
- setlocale
- setrawcookie
- settype
- sha1
- sha1_file
- shell_exec
- show_source
- shuffle
- similar_text
- sin
- sinh
- sizeof
- sleep
- socket_get_status
- socket_set_blocking
- socket_set_timeout
- sort
- soundex
- split
- spliti
- sprintf
- sql_regcase
- sqrt
- srand
- sscanf
- stat
- str_ireplace
- str_pad
- str_repeat
- str_replace
- str_rot13
- str_shuffle
- str_split
- str_word_count
- strcasecmp
- strchr
- strcmp
- strcoll
- strcspn
- strftime
- stripcslashes
- stripslashes
- strip_tags
- stripos
- stristr
- strlen
- strnatcasecmp
- strnatcmp
- strncasecmp
- strncmp
- strpbrk
- strpos
- strrchr
- strrev
- strripos
- strrpos
- strspn
- strstr
- strtok
- strtolower
- strtotime
- strtoupper
- strtr
- strval
- substr
- substr_compare
- substr_count
- substr_replace
- symlink
- syslog
- system
- tan
- tanh
- tempnam
- time
- time_nanosleep
- tmpfile
- touch
- trigger_error
- trim
- uasort
- ucfirst
- ucwords
- uksort
- umask
- uniqid
- unlink
- unpack
- unregister_tick_function
- unserialize
- unset
- urldecode
- urlencode
- user_error
- usleep
- usort
- var_dump
- var_export
- version_compare
- vprintf
- vsprintf
- wordwrap
- zend_logo_guid
- zend_version
-
+
Extension Overview
-
+
Optional Extensions Listing
- BCMath Arbitrary Precision Mathematics
- Calendar
- cPDF
- COM
- ctype
- CURL
- dBase
- DBM-Style Database Abstraction
- dbx
- DOM XML
- EXIF
- FrontBase
- FDF
- File Alteration Monitor
- filePro
- FTP
- Gd/gd2
- gettext
- GMP
- Hyperwave
- iconv
- IMAP, POP3, and NNTP
- Informix
- Ingres II
- InterBase
- IRC Gateway
- Java
- LDAP
- mcrypt
- MCVE
- mhash
- Microsoft SQL Server
- Ming
- mnoGoSearch
- msession
- mSQL
- MySQL
- ODBC
- openssl
- Oracle
- OvrimosSQL
- Verisign Payflow Pro
- PostgreSQL
- pspell
- Readline
- Recode
- shmop
- SNMP
- sockets
- Sybase
- System V Semaphore and Shared Memory
- tidy
- WDDX
- XML Parser
- YAZ
- YP/NIS
- zlib Compression
-
+
Optional Extensions Listing
- Index
Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million websites, surpassing Microsoft's ASP .NET technology in popularity. Programmers love its flexibility and speed; designers love its accessibility and convenience.
As the industry standard book on PHP, all of the essentials are covered in a clear and concise manner. Language syntax and programming techniques are coupled with numerous examples that illustrate both correct usage and common idioms. With style tips and practical programming advice, this book will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP, Second Edition covers everything you need to know to create effective web applications with PHP. Contents include:
Detailed information on the basics of the PHP language, including data types, variables, operators, and flow control statements
Chapters outlining the basics of functions, strings, arrays, and objects
Coverage of common PHP web application techniques, such as form processing and validation, session tracking, and cookies
Material on interacting with relational databases, such as MySQL and Oracle, using the database-independent PEAR DB library and the new PDO Library
Chapters that show you how to generate dynamic images, create PDF files, and parse XML files with PHP
Advanced topics, such as creating secure scripts, error handling, performance tuning, and writing your own C language extensions to PHP
A handy quick reference to all the core functions in PHP and all the standard extensions that ship with PHP
Praise for the first edition:
"If you are just getting into the dynamic Web development world or you are considering migrating from another dynamic web product to PHP, Programming PHP is the book of choice to get you up, running, and productive in a short time."
--Peter MacIntrye, eWeek
"I think this is a great book for programmers who want to start developing dynamic websites with PHP. It gives a detailed overview of PHP, lots of valuable tips, and a good sense of PHP's strengths."
--David Dooling, Slashdot.org
Test the closed alpha on paperc.com
Book Details
Authors
Rasmus Lerdorf, Kevin Tatroe, and Peter MacIntyre
Categories
Computers > Programming Languages > General
Publishers
Publication year : 2007
License: All rights reserved ©
Times read: 2,230

