Recent Solutions: Soluciones recientes:
- Remove slashes from multidimensional GET and POST Eliminar barras multidimensional de GET y POST
- Remove slashes from GET and POST Eliminar barras de GET y POST
- Check if today is Christmas Day Compruebe si hoy es el día de Navidad
- Simplify multiple function_exist calls into one function Simplificar function_exist múltiples llamadas en función de una
- How to check if headers have been sent. Cómo comprobar si las cabeceras se han enviado.
Contact Contacto
- Web: Online contact form Web: formulario de contacto en línea
- Email: daniel [at] neville [dot] tk Correo electrónico: Daniel [at] Neville [punto] tk
- MSN: msn@danltn.com MSN: msn@danltn.com
- Skype: Danltn (currently not working) Skype: Danltn (en la actualidad no funciona)
Search Búsqueda
(English only) (Inglés solamente)
Danltn.com Solutions Soluciones Danltn.com
Solutions Soluciones
Remove slashes from multidimensional GET and POST Eliminar barras multidimensional de GET y POST
This is the same as the last post (see that for details.) With the exception that this will work for multidimensional arrays, you probably won't need it for most sites, but some might... Esto es lo mismo que el último puesto (que para más detalles.) Con la salvedad de que esto funcionará para matrices multidimensionales, probablemente no lo necesitan para la mayoría de los sitios, pero algunos podrían ... So here it is. Así que aquí está.
URL: Download URL: Descargar
PHP Version: Any - Posted by Danltn - Sat, 12 Jul 08 PHP versión: Cualquiera - Publicado por Danltn - Sábado, 12 julio 08 ![]()
Remove slashes from GET and POST Eliminar barras de GET y POST
A lot of people often complain about the fact that their GET and POST arrays often return data which has backslashes infront of characters such as ' and ". Una gran cantidad de personas se quejan a menudo el hecho de que su GET y POST arrays retorno a menudo los datos que se enfrente barras de caracteres como "y".
This is because of a "feature" (notice the quotations) called magic quotes. Esto se debe a una "característica" (anuncio de las cotizaciones) llamado magia comillas.
The download link shows a small snippet on how to remove these for none-multidimensional arrays (most aren't). El enlace de descarga muestra un pequeño fragmento sobre la forma de eliminar ninguno de estos-arrays multidimensional (la mayoría no son).
URL: Download URL: Descargar
PHP Version: Any - Posted by Danltn - Fri, 11 Jul 08 PHP versión: Cualquiera - Publicado por Danltn - Viernes, 11 julio 08 ![]()
Check if today is Christmas Day Compruebe si hoy es el día de Navidad
This function is extremely simple but fun nonetheless, all it does in simple terms is tell you whether today (or the date you specified) is Christmas day, if it is then it returns (boolean) true, otherwise it returns (boolean) false, a simple usage of it would be if(is_christmas()) { ... Esta función es extremadamente simple, pero divertido, sin embargo, no todo lo que en términos simples, es decir que si hoy (o la fecha en la que se especifique lo contrario) es día de Navidad, si se devuelve (boolean) verdadero, de lo contrario devuelve (boolean) falsa, un simple uso de la misma sería si (is_christmas ()) (... } )
Not made for anything serious just have fun with it. No hizo nada grave simplemente divertirse con ella.
URL: Download URL: Descargar
PHP Version: 4.3+ - Posted by Danltn - Fri, 11 Jul 08 PHP versión: 4.3 + - Enviado por Danltn - Viernes, 11 julio 08 ![]()
- « previous «Anterior
- 1 1
- 2 2
- ... 7 ... 7
- next » Siguiente »