PHP image upload

This is my image upload solution:

The name its stored is always an md5 hash of the file to avoid duplicate files.

php redirect to www

This shows how to make a php redirect from “” to “”.

PHP crawl example

This is a little example how to crawl a web page with PHP, in this example I crawl my own page with XPATH to get all titles.

This is our result, this are the matches from the XPATH:

To see this in Perl click: Perl crawl example.