PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
Este documento anuncia un curso de especialista en herramientas lúdicas y educativas que consta de 5 talleres sobre diferentes temas como globos, teatro, artes plásticas, lectura y música. Cada taller dura 4 horas y cuesta 20€, pero si se hacen los 5 se aplica un 20% de descuento y se obtiene un diploma de 20 horas acreditativas para oposiciones a la Xunta de Galicia. Se dan detalles sobre las fechas y contenidos de cada taller.
The document summarizes information about the website ilc-talen.nl. It provides the Alexa rank (1,164,732), daily visits (1,134), daily ad revenue ($5.03), and IP address (212.67.183.233). It also lists other websites hosted on the same server network and performs a server record analysis.
El documento describe los componentes principales de un ordenador y sus periféricos, incluyendo la placa base, procesador y memoria RAM que componen el ordenador, así como periféricos de entrada como el teclado y ratón, periféricos de salida como el monitor e impresora, y dispositivos de almacenamiento como el disco duro y memorias flash.
This document outlines the marketing plan for a multi-level marketing company, including qualification levels, bonuses, and funds available at different levels. It details the percentage bonuses available for introductions, team volume, and pairings. It also explains leadership bonuses, car funds, and global funds that are allocated based on monthly sales and available to higher qualification levels like Diamond, Super Diamond, and Crown Diamond.
Este documento anuncia un curso de especialista en herramientas lúdicas y educativas que consta de 5 talleres sobre diferentes temas como globos, teatro, artes plásticas, lectura y música. Cada taller dura 4 horas y cuesta 20€, pero si se hacen los 5 se aplica un 20% de descuento y se obtiene un diploma de 20 horas acreditativas para oposiciones a la Xunta de Galicia. Se dan detalles sobre las fechas y contenidos de cada taller.
The document summarizes information about the website ilc-talen.nl. It provides the Alexa rank (1,164,732), daily visits (1,134), daily ad revenue ($5.03), and IP address (212.67.183.233). It also lists other websites hosted on the same server network and performs a server record analysis.
El documento describe los componentes principales de un ordenador y sus periféricos, incluyendo la placa base, procesador y memoria RAM que componen el ordenador, así como periféricos de entrada como el teclado y ratón, periféricos de salida como el monitor e impresora, y dispositivos de almacenamiento como el disco duro y memorias flash.
This document outlines the marketing plan for a multi-level marketing company, including qualification levels, bonuses, and funds available at different levels. It details the percentage bonuses available for introductions, team volume, and pairings. It also explains leadership bonuses, car funds, and global funds that are allocated based on monthly sales and available to higher qualification levels like Diamond, Super Diamond, and Crown Diamond.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications through its extensive function libraries.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications through its extensive function libraries.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is influenced by C and supports features like functions, arrays, and object-oriented programming. It provides a large standard library for common tasks like string handling, dates, files, and working with databases.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and has many built-in functions for tasks like string handling, dates/times, files, and databases.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf and Zeev Suraski. PHP scripts can be embedded into HTML pages and is commonly used to connect web pages with backend databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications through its extensive function libraries.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf and Zeev Suraski. PHP scripts can be embedded into HTML pages and is commonly used to connect web pages with backend databases. PHP is influenced by C and supports features like variables, functions, and object-oriented programming. It has a large standard library for tasks like string handling, dates, files, and working with databases.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications through its extensive function libraries.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications through its extensive function libraries.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is influenced by C and supports features like functions, arrays, and object-oriented programming. It provides a large standard library for common tasks like string handling, dates, files, and working with databases.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and has many built-in functions for tasks like string handling, dates/times, files, and databases.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf and Zeev Suraski. PHP scripts can be embedded into HTML pages and is commonly used to connect web pages with backend databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is used to dynamically generate web page content. As a scripting language, PHP is interpreted and can interact with databases, web servers, and other applications through its extensive function libraries.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf, Zeev Suraski, and Andi Gutmans. PHP scripts can be embedded into HTML pages and is commonly used to connect web applications with databases. PHP is open source, has a C-like syntax, and an extensive function library that makes it well suited for web development tasks.
PHP is a scripting language originally created for web development and now used as a general purpose programming language. Key developers include Rasmus Lerdorf and Zeev Suraski. PHP scripts can be embedded into HTML pages and is commonly used to connect web pages with backend databases. PHP is influenced by C and supports features like variables, functions, and object-oriented programming. It has a large standard library for tasks like string handling, dates, files, and working with databases.
2. PHP Origins
Rasmus Lerdorf (born Greenland, ed Canada)
PHP originally abbreviation for ‘Personal Home Pages’,
now ‘PHP Hypertext Processor’
Other key developers: Zeev Surashi and Andi Gutmans
(Israel)
Open Source
PHP version 4.4.3 current at UWE
Due to upgrade to PHP 5
3. Scripting languages
• A scripting language is:
– often evolved not designed
– cross-platform since interpreter is easy to port
– designed to support a specific task – PHP -> Web support
– un-typed variables (but values are typed)
– implicit variable declaration
– implicit type conversion
– stored only as script files
– compiled on demand
– may run on the server (PHP) or the client (Javascript)
• What design and development are involved in using a
scripting language like PHP for development in place of
a compiled language (Java in JSP, .NET)?
4. PHP details
• Procedural language
– Compare with Javascript which is event-driven
• C-like syntax - { } ;
• Extensive Function Library
• Good Web-server integration
– Script embedded in HTML
– Easy access to form data and output of HTML pages
• Not fully object-oriented
– Java is fully object oriented – all functions have to be
in a class
– In PHP, classes are additional but quite simple to use
5. PHP and HTML
• HTML-embedded
– PHP scripts are essentially HTML pages with
the occasional section of PHP script.
– PHP script is enclosed in the tag pair:
• <?php print date(“H:I”) ?>
6. C-like language
• Free format - white space is ignored
• Statements are terminated by semi-colon ;
• Statements grouped by { … }
• Comments begin with // or a set of comments /* */
• Assignment is ‘=’: $a=6
• Relational operators are ,< , > == ( not a single equal)
• Control structures include if (cond) {..} else { }, while (cond) { .. } ,
for(sstartcond; increment; endcond) { }
• Arrays are accessed with [ ] : $x[4] is the 5th element of the array
$x – indexes start at 0
• Associative Arrays (hash array in Perl, dictionary in Java) are
accessed in the same way: $y[“fred”]
• Functions are called with the name followed by arguments in a fixed
order enclosed in ( ) : substr(“fred”,0,2)
• Case sensitive - $fred is a different variable to $FRED
7. Function library
• Basic tasks
– String Handling
– Mathematics – random numbers, trig functions..
– Regular Expressions
– Date and time handling
– File Input and Output
• And more specific functions for-
– Database interaction –
• MySQL, Oracle, Postgres, Sybase, MSSQL ..
– Encryption
– Text translation
– Spell-checking
– Image creation
– XML
8. String Handling
• String literals (constants) enclosed in double quotes “ ”
or single quotes ‘ ’
• Within “”, variables are replaced by their value: – called
variable interpolation. “My name is $name, I think”
• Within single quoted strings, interpolation doesn’t occur
• Strings are concatenated (joined end to end) with the
dot operator “key”.”board” == “keyboard”
• Standard functions exist: strlen(), substr() etc
• Values of other types can be easily converted to and
from strings – numbers implicitly converted to strings in a
string context.
• Regular expressions be used for complex pattern
matching.
9. 3(+1) Tier architecture
voice
DHTML
touch Browser HTTP SQL
(IE, FireFox, PHP script Database
Opera)
Web Server Database
vision HTML (Apache, IIS) tables
Server
Desktop
(PC or MAC)
SMS
Web Service
SMS system
Client application
Remote services
10. Learning PHP
• Start with just the basics, installing a script
to output an HTML page
• Understand how PHP supports interaction
with the Browser or other clients
• Understand how PHP supports integration
with databases – MySQL
• Understand how PHP supports integration
with other applications – Web services