Posted on February 26th, 2008 by admin
This article discusses about how to write a website scraper using PHP for web site data extraction. The concepts taught can be applied and programmed in Java, C#, etc. Basically any language that has a powerful string processing capability. This article will teach you the basics of website scraping. The article will further cover a […]
Filed under: PHP, PHP Code Examples, Programming | 8 Comments »
Posted on February 14th, 2008 by admin
In this tutorial we will cover the following:
What is an exception?
The use of a try…catch block
Anatomy of PHP5 Exception class
Extending the Exception class
A note on unhanded exceptions
Filed under: PHP, PHP Class Examples, PHP Code Examples, PHP Tutorials, PHP5 OOPS Tutorials | 2 Comments »
Posted on November 16th, 2007 by admin
Here is a script that will allow you to print a nested array upto any level. Can I request you to please review this and let me know how this can be further optimized.
Filed under: PHP, PHP Code Examples | 5 Comments »
Posted on November 14th, 2007 by admin
I have developed a function that you can embed in your PHP applications that will help you extract email addresses from a given piece of text.
I have tested this on a string of (actually 4 - 5 paragraphs) text and this has performed very well.
Please feel free to use this code in your applications and […]
Filed under: PHP, PHP Code Examples, Programming | 4 Comments »