PHP

PHP is a popular, free object-oriented programming language used by web developers to create dynamic web pages. PHP is similar to C++ in many respects. PHP has the ability to interface with databases such as PostgresSQL and MySQL to store data. PHP can also integrate with a variety of authentication protocols including LDAP. This language must be compiled at runtime which can cause performance issues on servers with heavy usage, however, several compilers exist which can compile the code prior to runtime, increasing performance. Below is an example of a simple PHP script.

<?php

echo “This is my first PHP program!<br>”;

$myvariable=1;

if ($myvariable>0)
{
echo “Variable is greater than 0<br>”;
}
elseif($myvaria

ble==0)
{
echo “Variable is equal to 0<br>”;
}
else
{
echo “Variable is less than 0<br>”;
}

?>

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: