Using the Google API from PEAR

685 days ago
tags: , , , ,
The Services_Google package is simply a wrapper around the SOAP extension and is used to access the Google Web APIs (http://www.google.com/apis/reference.html) for the search engine, spelling suggestions, and cache. To access any of these services, you must obtain a license key by registering for an account. A link to the registration page is available from the previously mentioned URL. Because this package is a wrapper for SOAP, both PHP 5 and the SOAP extension are prerequisites for installing and using this package.
Click here to read more


A Quick Tutorial of PEAR DB

686 days ago
tags: , , ,

So you’ve written a great application with PHP and it is up and running smooth. Then, your boss calls and tells you that your company won’t be using MySQL anymore. You’re moving to Oracle. Your application is dead in the water. You should have used database abstraction.


Click here to read more


The #1 Security Flaw in PHP Applications

702 days ago
tags: , ,
The Open Web Application Security Project released a document describing the top 10 security issues in web applications. David Sklar gave some practical examples of these vulnerabilities in PHP applications. There is one item I find missing from the list however and it is what I consider the top security flaw in PHP applications.

Click here to read more


So you think your code is bug free?

704 days ago
tags: ,

I’ve heard developers say that their code was bug free, that no possibility in the world existed for the particular code to contain any errors. I’ve always scoffed at such claims and written the developer in question off as one with too big a head. Now, I have something to throw back at them – the binary search!


Click here to read more


Clean that input!

705 days ago
tags: , , ,

If you are programming any publicly available web site, you need to be aware that user input can be tainted by a malicious user. You need to clean the input to be sure there are not any XSS attacks, SQL injection attacks, or just any HTML inserted you don’t want.


Click here to read more