Profile
Achievement
nicolaspar's Recent Snippets
- All /
« Prev 1 Next »
If not have access to edit json, setting url possible is:
url: 'http://graph.facebook.com/4/?callback=getDatosUsuario'
0
888
posted 13 years ago by nicolaspar
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1
935
posted 15 years ago by nicolaspar
ej:
echo keepqsSinParametro('hola','hola=mundo&mundo=lindo&hola=chau'); #out = mundo=lindo
0
814
posted 17 years ago by nicolaspar
Convert 12hs format to 24hs format. In example: 10:00:00 a.m. return timestamp for 22:00. Or use: strtotime('1970-01-01 '.$hora);
1
781
posted 17 years ago by nicolaspar
echo validarFecha( '1-1-1998', 0 ) ? 'ok' : 'ko' ; #ok
echo validarFecha( '1-1-1998' ) ? 'ok' : 'ko' ; #ko
echo validarFecha( '1980/05/06' ) ? 'ok' : 'ko' ; #ok
echo validarFecha( '1700-5-1' ) ? 'ok' : 'ko' ; #ok
0
872
posted 17 years ago by nicolaspar
javascript in_array object frame.
Usar:
Mediceau.Navegacion.marcar(['nav1','nav2'])
...
_--Nav 1
_--Nav 2
_--Nav 3
_--Nav 4
0
801
posted 18 years ago by nicolaspar