Archive for February 9th, 2007

WebCheatSheet.com: Two New Tutorials - Database Export & Sending Email

WebCheatSheet.com has two new tutorials posted today - one dealing with the export of a database schema in an XML format and the other about sending emails from PHP.

Here’s a link to the first article.

Sometimes it can be useful to have a dump of the current database schema. This script reads the schema from a MySQL database and outputs XML that describes the schema.

And a link to article number two.

So, you want to send automated email messages from your PHP application. This can be in direct response to a user’s action, such as signing up for your site, or a recurring event at a set time, such as a monthly newsletter. Sometimes email contains file attachments, both plain text and HTML portions, and so on. To understand how to send each variation that may exist on an email, we will start with the simple example and move to the more complicated.

Continue Reading · Add comment

DevShed: Creating an RSS Reader: the Reader

In a new tutorial from DevShed today, they walk you through the creation of a simple (very simple) RSS reader in PHP.

In this article we are going to discuss how to create a PHP-based RSS reader. It would be helpful if you know something about XML, but not really necessary. RSS documents have three main tags: Title, Link and Description. And they all do exactly what their names suggest. I will go into detail about these tags in my second article dealing with “building an RSS file.” For now, we will only focus on the “reading” part of the article.

They start with an overview, showing where you’ll come from and where you’re headed to. They include a section introducing the XML handing functions (SAX, not DOM) and use them in a chunk of code to read in the RSS file and handle the contents.

Continue Reading · Add comment

Pierre-Alain Joye’s Blog: GD 2.0.34 has been released!

According to this new post on Pierre-Alain Joye’s blog today, a new version of the GD graphics library has been release - version 2.0.34.

It took a lot of work to get this version released. Version 2.0.34 is a bug-fix-only release (all known security issues have been fixed), and upgrade is strongly recommended. It is also my very first GD release (hopefully, the first of many to come), and marks the official freeze of the 2.0.x tree, only security-related fixes will be made on this tree from now on. Please find the release announcement here.

He also invlites any language binders to contact him about hosting for a project if it’s not available.

Continue Reading · Add comment

Stuart Herbert’s Blog: What Does The Business Case For PHP Need To Cover?

In a new post to his blog today, Stuart Herbert continues the theme he started in a previous post about a business case for PHP. In this new entry, he shares some things he’s done to further the effort.

To turn this from an idea into reality, I’ve setup a Google group where anyone who is interested can join in, and help build this resource. Please come along with your ideas and concerns, and let’s see what we can achieve together.

He also suggests some “first steps” to get the ball rolling, namely a list of topics the business case needs to cover.

Continue Reading · Add comment

Community News: PHP 5.2.1 Released

The latest version of the PHP language (in the PHP 5 series) has been released today - PHP 5.2.1:

The PHP development team would like to announce the immediate availability of PHP 5.2.1. This release is a major stability and security enhancement of the 5.X branch, and all users are strongly encouraged to upgrade to it as soon as possible. Further details about this release can be found in the release announcement 5.2.1, the full list of changes is available in the ChangeLog PHP 5.

Among the security enhancements and bug fixes in this new release are:

  • Prevent search engines from indexing the phpinfo() page.
  • Fixed possible overflows and stack corruptions in the session extension.
  • Fixed possible clobbering of super-globals in several code paths.
  • Fixed a possible buffer overflow inside mail() and ibase_{delete,add,modify}_user() functions.
  • and much more…

Head over and download your copy today!

Ilia Alshanetsky (release manager for the PHP 5 series) also has posted some comments about the release to his blog.

Continue Reading · Add comment