Archivo del Autor: carlosap

Erastótenes

Astrónomo, Historiador, Filósofo, Matemático. Era el bibliotecario de la biblioteca de Alejandría. Wiki Los secretos de la evolución son tiempo y muerte.Tiempo para acumular mutaciones favorables.Carl Sagan La tierra tiene unos 4,500 millones de añosGas y polvos estelares la formaron.  

Strings

Concatenar strings $str1 = “hola “;$str2 = “que tal “;$str3= “como estas?”; $str4 = $str1.$str2.$str3; Strings CharsSe pueden reemplazar los caracteres:$str1 = «0123456789″;$str1[2]=»x«; Cambiar a mayusculas y minúsculas:strtoupper();strtolower(); Capitaliza la primera letra:ucfirst(); Capitaliza todas las letras:ucwords();ASCII chr(32) = spacechr(65) = A ord(“A”) = 65;   Tags: strings

unset()

unset() Syntax:    void unset(mixed var [, mixed var, …])var    Variable to unset. Unsets a variable. unset() destroys one or more variables and deallocates the memory associated with them. Code: <?php $a = «Some data»; unset($a); if (!isset($a)) {    print «\$a is no longer available»; } ?> Output: $a is no longer available

Introducción a PHP

¿ Que es PHP ? Scripting / Programming Language (“C – Like”) FREE and Open Source Fast, Open, Stable, Cross Platform! No compilation! PHP is all about “Community”    

Windows Setup VPN

ESCENARIO : CLIENTE VPN : WINXP , IP = 192.168.1.53 obtenida por DHCP del ROUTER SERVIDOR : WIN 2003 SERVER en VMWARE WS , IP = 192.168.1.35 dada por DHCP del ROUTER Instalé el servidor de VPN normalmente y me funciono pero sin tocar absolutamente nada dejó de funcionar dándome el error 733 . Después… Read More: Windows Setup VPN »

Images MouseOver

 <script language=»javascript»>   //Images MouseOver  function imageMouseOver(){  document.supercomputadora.src=»images/scomputer.jpg»; }function imageMouseOut(){  document.supercomputadora.src=»images/scomputergris.jpg»; }   </script> </head> <body><a href=»#» onmouseover=»javascript:imageMouseOver()» onmouseout=»javascript:imageMouseOut()»<img src=»images/scomputergris.jpg» name=»supercomputadora» /></a> </body> Tags: mouseover, mouseout

Detecting the Browser and it Resources

Navigator Object Determine details of the user browser appName – browser application name appVersion – string containing version details cookieEnabled – boolean value mimeTypes – array of known types of files plugins – array of plug-in application platform – operating system http://www.devguru.com/technologies/javascript/11226.asp   Tags: detecting+browser, javascript

Design Properties and Methods

Hyperlink Properties ( URL, TITLE, DESCRIPTION) Methods (Create, Display) Create Construction Function CONSTRUCTOR – Its a special function designed to create an instance of an object May or may not containg variables used to initialize the object Uses the “this” keyword to reference the current instance of the object Develop Methods functions that change the… Read More: Design Properties and Methods »