PHP

FacebookTwitter
http://www.lewebmonster.com/como-leer-xml-haciendo-uso-de-php-y-la-extension-simplexml/ Gracias por visitar www.lewebmonster.com :) Los artículos publicados en este blog son completamente originales. La mayoría de los mismos contienen ejemplos o archivos que pueden descargarse para mayor comodidad del visitante (usted) ; el único requisito para realizar descargas es estar registrado (el registro es completamente gratis y no se le va a enviar ningún tipo de publicidad a su correo electrónico) . Si desea colaborar con el crecimiento de este blog, por favor, de un Like en la parte superior derecha de esta página . Gracias!

Leer un archivo XML con PHP, ejemplos de uso de la extensión SimpleXML para PHP, XML y PHP, leer los datos de un web service con PHP : lewebmonster.com

The json_decode() PHP function converts JSON data to PHP array data. Parameters data The json data that you want to decode in PHP. dataTypeBoolean Optional boolean that makes the function return a PHP Associative Array if set to "true", or return a PHP stdClass object if you omit this parameter or set it to "false".

json_decode ( ) - Decode JSON Formatted Data

http://www.developphp.com/view_lesson.php?v=860

ax-jquery-multiuploader - A jquery plugin cross-browser for uploading multiple files

Description: AX Ajax Multi Uploader is a jQuery javascript plugin for creating a simple multiupload file system for web applications. It is based only on javascript and supports html5 uploading but also is compatible with html4. No flash, no silverlight or other plugins only javascript. http://code.google.com/p/ax-jquery-multiuploader/

Open Source Downloads

Once and a while I might add a PHP Class or possibly something else to this directory. All files here are under the GNU General Public License. I'll place example usage in the phpDoc comment at the top of each file. The goal in these files is firstly Simplicity which also ties in with Readability, you should be able to scan the file quickly and tell what is happening. Lastly is Usability, these are meant to be simple to use and not overly complex. Listings http://jream.com/lab/open-source

PHP Orientado a Objetos for Beginners

Buscando artículos de calidad para compartir con ustedes, encuentro un reciente y magnífico artículo (“ Object-Oriented PHP for Beginners ”) extraído del libro Pro PHP and jQuery , que a continuación se los muestro, pero en nuestro idioma. He incluido los ejemplos online, para que podamos apreciarlos mejor. Y es que, para muchos programadores, la programación orientada a objetos es un concepto aterrador, con una sintaxis muy complicada y otros temores. http://www.baluart.net/articulo/php-orientado-a-objetos-for-beginners
Debuggers PHP para Eclipse Lo que hemos visto hasta ahora, bien lo puedes hacer con cualquier editor. Hemos creado un proyecto, añadido un archivo php, le hemos añadido código html y php y con la ayuda de xampp hemos visto el resultado final en el navegador que lleva incorporado Eclipse . Sin embargo, y es donde aumenta la importancia de todo esto, ahora nos disponemos a depurar el código que acabamos de hacer. Si navegas un poco por los menús (Run -> Debug configuration) verás que se muestran dos debugger que son muy utilizados: http://www.karmany.net/index.php/programacion-web/36-eclipse/84-eclipse-instalar-debugger-xdebug

Eclipse: Instalar debugger XDebug o Zend Debugger

http://www.eslomas.com/2011/09/proteccion-anti-csrf-con-tokens-en-php/ En este post voy a explicar cómo proteger nuestras aplicaciones PHP contra ataques de tipo CSRF . Este tipo de ataques hacen que el usuario realice acciones sobre un web de forma inadvertida. Por ejemplo, en una página vulnerable a este tipo de ataques, podrían construirse páginas de ataque en las que únicamente con la visita del usuario se modificase su información de registro, se publicase información de forma oculta, etc. Imaginemos que estamos conectados a un web que requiere autenticación y que por ejemplo estamos manteniendo una conversación por chat con otra persona. Esta persona podría enviarnos un enlace a una página que contuviera una imagen oculta que apuntase a una url del web en el que estamos autenticado.

Protección anti CSRF con tokens en PHP | EsLoMas.com

http://webcheatsheet.com/php/blocking_system_access.php

Blocking access to the login page after three unsuccessful login attempts

Sometimes you need to add an extra protection to password-protected website. This article explains how access to the login page can be restricted after three unsuccessful login attempts. This schema uses visitors IP address to store log attempts in the database and block access to login feature for 30 minutes after third unsuccessful attempt. There are a number of reasons to restrict access. One reason is security. Quite often users try to guess login and password combination to get unauthorized access to the system.
<ifModule> clever stuff here </ifModule> Introduction to .htaccess.. This work in constant progress is some collected wisdom, stuff I've learned on the topic of .htaccess hacking, commands I've used successfully in the past, on a variety of server setups, and in most cases still do.

.htaccess tricks and tips.. part one: tips, tricks, hints, examples; juicy .htaccess information.

http://corz.org/serv/tricks/htaccess.php
What is MVC? From Wikipedia - Model–View–Controller (MVC) is an architectural pattern used in software engineering.

Write your own PHP MVC Framework (Part 1) | anant garg

http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/

10 Things You Can Do to Become a Better PHP Developer

PHP is probably the most popular web development language right now. At least 20 million domains use PHP and it’s the language used on major sites such as Wikipedia and Facebook as well as in some of the world’s biggest open source projects like WordPress and Drupal. In this article, I’ll share with you ten things I wish I was told when I was just getting started with PHP development, and I’m hoping you’ll be able to learn a thing or two if you’re just taking your first steps into this awesome web development language.