Archive for June 7th, 2006
PHP Developer - June 7th, 2006
Sara Goleman has an elated post on her blog today about the release of her book from Sams publishing called “Extending and Embedding PHP”.
It’s official!!!! After a year in development Extending and Embedding PHP is now shipping from fine book stores everywhere.
I’ve gotten good reviews from the half dozen people I know who’ve gotten their hands on it, and I am really satisfied with most of it. Do I think it could be better? Of course I do, but I don’t think I was ever going to be completely satisfied.
She notes that, though she enjoyed the book writing experience, readers shouldn’t look too soon for another from this autor. If you’ve picked up a copy and have had the time to get through it, drop her a note and tell her what you think!
(0 comments)
Continue Reading ·
Dev Shed - June 7th, 2006
Querying the database is one of the most common tasks that you may have to carry out routinely. This tutorial shows you the options for running SQL queries and how to run the queries against the database in the Oracle Express Edition Oracle XE for short….
(Advertisement) The Database Behind the Brain, by db4o Author Rick Grehan describes the case for a database library that is small, fast, powerful, and easy to use. Supported by code examples he visualizes how relational and OO approaches differ in Java/.NET and how db4o makes life easier for developers.
Continue Reading ·
PHP Developer - June 7th, 2006
PHPBuilder.com has posted the next part of their “Using XML” series - this time with a focus on SOAP and WSDL.
In the previous article in this series I demonstrated how XML is used to make remote procedure calls with XML-RPC in PHP. This article will focus on SOAP and WSDL (both of which use XML as their underlaying method of describing data) and demonstrate how a PHP script can act as a SOAP client and auto-magically discover detailed information about a web service.
They start with an overview of what SOAP is and how a simple SOAP message is structured. They also expand on that one step further with an example of a remote procedure call in a SOAP message.
Since the foundations are in place, they zip right along to the use of SOAP in your PHP 5 installation (one of the easiest methods). They help you create the SOAP client, generate the PHP code automatically from the remote WSDL, and utilize a proxy class to handle the connection.
With these scripts, they provide two examples of how to put them to work - one requests books on the topics of “php5″ and “oop” from Amazon’s web service and the other works with Google’s API to “race” the results of certain search terms.
(0 comments)
Continue Reading ·
PHP Developer - June 7th, 2006
June has started, and with that comes some finishing touches for the alpha release of PHP-GTK 2.
- A few class implementations were completed
- PHP-GTK 2 was made PHP 5.2 ready
- A fix for the Win32 crash has been identified
- More documentation updates
- And more online resources for PHP-GTK users
Read on for more details about the PHP-GTK news from the first week of June 2006. It’s browken down into three difference categories this time - Development, Documentation, and General changes - with a load of updates, espeically to the documentation.
(0 comments)
Continue Reading ·
PHP Developer - June 7th, 2006
Just when you thought you were safe with the little CAPTCHA graphic on your site, something like this comes along - a method for decoding CAPTCHA images using only PHP.
This example shows a simple method of decoding “CAPTCHA” (Completely Automated Public Turing test to tell Computers and Humans Apart) correctly into usable variables for processing. There is no 100% guarantee that it would successfully decode the CAPTCHA (Maybe about 90% or more) but it is a start.
Their example pulls an image with overlapping characters to be parsed by their PHP script (needing the GD2 extension). They start off by taking the image into a graphic editor and breaking up the characters to create a “pixel library” of the letters (A-Z) and numbers (0-9) that service uses. This is then used by the PHP script to locate what letters/numbers might be present in the image.
They include in upload form to allow users to give it a try as well as a sample pixel library for the full series of letters/numbers and their points.
(0 comments)
Continue Reading ·