Categoría: Tecnología al Día

Floating point numbers

Floating point numbers (also known as «floats», «doubles», or «real numbers») can be specified using any of the following syntaxes: <?php $a = 1.234; $b = 1.2e3; $c = 7E-10; ?> Formally: LNUM [0-9]+ DNUM ([0-9]*[\.]{LNUM}) | ({LNUM}[\.][0-9]*) EXPONENT_DNUM [+-]?(({LNUM} | {DNUM}) [eE][+-]? {LNUM}) The size of a float is platform-dependent, although a maximum of

Integers on PHP

An integer is a number of the set ? = {…, -2, -1, 0, 1, 2, …}. Syntax Integers can be specified in decimal (base 10), hexadecimal (base 16), or octal (base 8) notation, optionally preceded by a sign (- or +). To use octal notation, precede the number with a 0 (zero). To use

PHP supports eight primitive types.

Four scalar types: boolean integer float (floating-point number, aka double) string Two compound types: array object And finally two special types: resource NULL This manual also introduces some pseudo-types for readability reasons: mixed number callback And the pseudo-variable $…. Some references to the type «double» may remain in the manual. Consider double the same as

Booleans on PHP

This is the simplest type. A boolean expresses a truth value. It can be either TRUE or FALSE. Note: The boolean type was introduced in PHP 4. Syntax To specify a boolean literal, use the keywords TRUE or FALSE. Both are case-insensitive. <?php $foo = True; // assign the value TRUE to $foo ?> Typically,

Comments on PHP

PHP supports ‘C’, ‘C++’ and Unix shell-style (Perl style) comments. For example: <?php echo ‘This is a test’; // This is a one-line c++ style comment /* This is a multi line comment yet another line of comment */ echo ‘This is yet another test’; echo ‘One Final Test’; # This is a one-line shell-style

Escaping from HTML fron PHP

When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing in this manner allows PHP to be embedded in all sorts of different documents, as everything outside of a pair of opening and closing tags is ignored by the PHP

Técnicas efectivas de Mercadeo

En una encuesta realizada por Interland a 1,032 líderes de las pequeñas y medianas empresas en Estados Unidos, se determinaron las siguientes como las técnicas de mercadeo que son críticas para impulsar negocios, representados como un % de los que contestaron. 55% Relaciones con la Comunidad 47% Sitio Web 31% Relaciones públicas, cubrimiento de los

El correo electrónico lidera uso de Internet en dispositivos móviles

En un estudio elaborado recientemente por Nielsen, se quiso indagar en qué utilizaban los usuarios de teléfonos móviles su tiempo de conexión a Internet, arrojando los siguientes resultados como porcentaje del tiempo utilizado: 38.5% Correo electrónico 10.7% Redes sociales 7.2% Noticias y Actualidad 6.3% Búsquedas 4.6% Portales 4.3% Entretenimiento Es claro que el correo tiene

Mejor método para llegar a clientes potenciales

En una encuesta realzada por King Fish Media, se los métodos más apropiados, considerados por los gerentes de mercadeo, para llegar a clientes potenciales, arrojando los siguientes resultados. 75% Sitio Web Corporativo 73% Redes sociales 70% Contenido personalizado 69% Eventos cara a cara 67% Documentos Gratuitos / libros electrónicos 64% Transmisiones por la Web y