PHP DevCenter
O'Reilly Network.oreilly.comSafari Bookshelf.Conferences. Sign In/My Account | View Cart   
Articles Weblogs Books Learning Lab eDocuments  
advertisement

SAP TechEd '05. Learn to innovate. Register by July 22 & save 15%.

Search

ONLamp.com
All of O'Reilly
 
 Advanced Search »

Login
Register
Manage Newsletters
Register Your Books

Sponsored Zones
Novell Learning Channel


Sites
codezoo.com
LinuxDevCenter.com
MacDevCenter.com
WindowsDevCenter.com
Mozilla DevCenter
ONDotnet.com
ONJava.com
ONLamp.com
Apache
BSD
MySQL
PHP
Python
Security
OpenP2P.com
Perl.com
Policy DevCenter
SysAdmin
Wireless DevCenter
XML.com
WebServices.XML.com

Affiliate Sites
LinuxQuestions.org
OSDir.com
Servlets.com

Resource Centers
Bioinformatics
C/C++
Databases
Digital Media
Enterprise Development
Game Development
Java
Linux/Unix
Macintosh/OS X
.NET
Open Source
Oracle
Perl
Python
Scripting
Security
SysAdm/Networking
Web
Web Services
Windows
Wireless
XML  

Atom Feed
RSS Feed
RSS Feed
Using our RSS Feeds


Related O'Reilly Books

Traveling to
a tech show?

Search Discount Hotels
Niagara Falls Hotels
New York City Hotels
Vancouver Hotels
Orlando Hotel Search
Dallas Hotels, Texas
Las Vegas, Nevada Hotels
France Hotels


ONLamp.com
supported by:

Web Directory
Mortgage Leads






  

Object Overloading in PHP 5
A little meta-programming for PHP 5

  

Securing Web Forms with PEAR's Text_CAPTCHA
The bouncer is a Turing test!

  

Calculating Entropy for Data Miners
Finding connections in databases by calculating entropy

  

Programming eBay Web Services with PHP 5 and Services_Ebay  PHP 5 added several new features to the language, yet laundry lists and high-level overviews don't really show what they are or why you might use them. Fortunately, Adam Trachtenberg writes for us. Here's how to use the new features of PHP 5 for writing web services clients.   [ONLamp.com]

O'Reilly Learning LabOpen Source Programming Certificate: Save 50% -- Our Open Source Programming Certificate Series will teach you the core technical skills necessary to fully understand programming using Linux or Unix operating systems, languages, libraries, and databases. Completion of this series also earns you a Certificate of Professional Development through the University of Illinois Office of Continuing Education. For two weeks only, save 50% on all Open Source Programing Certificate Series classes. Offer ends July 31st.

Calculating Entropy for Data Mining  Eww, statistics. Right? Not necessarily--for example, calculating the entropy of your web statistics can help you analyze trends and correlations. Paul Meagher demonstrates statistical programming in PHP while explaining single-variable entropy.   [ONLamp.com]

Three-Tier Development with PHP 5  Well-factored applications separate data storage, manipulation, and display. For PHP programmers, PHP 5 and PEAR make that easier than ever. Luis Yordano Cruz demonstrates how to combine PEAR::DB_DataObject, Smarty, and PHP 5 to improve the design and maintenance of your applications.   [ONLamp.com]

Writing "Learning PHP 5"  Developers often write open source software in public, but what about developers who write about open source software? Do they build tools? How do your favorite books come about? David Sklar explains how he wrote Learning PHP 5.   [ONLamp.com]

Allowing Registration-Required Binary Downloads  You have a great PDF, MP3, or binary file to distribute, but you want to know who's downloading it. How hard could it be to write a little PHP program to require registration before letting your goodies loose? Robert Bernier demonstrates that it's actually pretty easy.   [ONLamp.com]

Migrating to Page Controllers  Simple web apps can start simple, but when they grow more complex, they often need pruning and refactoring to be maintainable. The Page Controller design pattern can help separate concerns such as templates and logic. Ethan McCallum demonstrates this language-neutral technique with PHP.   [ONLamp.com]

PHP Form Handling  If your PHP program is a dynamic web page (and it probably is) and your PHP program is dealing with user input (and it probably is), then you need to work with HTML forms. David Sklar, author of Learning PHP 5, offers tips for simplifying, securing, and organizing your form-handling PHP code.   [ONLamp.com]

Simplify Business Logic with PHP DataObjects  Are you sick of writing the same SQL over and over in your application? Would you like to simplify and unify your access to the same tables in multiple places? DataObjects may be for you. Darryl Patterson demonstrates how to write and use DataObjects in PHP.   [PHP DevCenter]

PHP Debugging Basics  Whether you're a PHP newbie or a wizard, your programs are going to have bugs in them. Nobody's perfect. David Sklar, author of Learning PHP 5, provides techniques for finding and fixing the problems in your programs.   [ONLamp.com]

ANOVA Statistical Programming with PHP  Data miners and researchers often have to review their work for statistical variances. The Analysis of Variance technique is a popular and effective way to gauge the effects of an experiment. Paul Meagher demonstrates how to use PHP, MySQL, and JpGraph for productive data-mining work.   [PHP DevCenter]

Getting Started with PHP's HTML_QuickForm  Web programming can be dull the second time you have to validate client parameters or render data to form elements. Fortunately, PHP's HTML_QuickForm class simplifies the creation, processing, and validation of client parameters. Keith Edmunds explains how to start using QuickForm.   [PHP DevCenter]

Why PHP 5 Rocks!  Adam Trachtenberg provides a quick tour around PHP 5, highlighting seven of his favorite new features. These features (including better support for OOP, bundled SQLite, iterators, and more cool stuff) will allow your PHP 5 code to be more concise, more elegant, and more flexible than ever. Adam is the author of the upcoming Upgrading to PHP 5.   [ONLamp.com]

Building a PHP Front Controller  It's a rare web app that doesn't span multiple pages. It's also rare that such an app doesn't have some common behavior. The Front Controller design pattern can simplify processing, behavior, and the user experience. Ethan McCallum explains how to use this in your applications.   [ONLamp.com]

Using Shared Memory from PHP  At some point, you'll need to communicate with another process. Unix systems support a powerful IPC mechanism called shared memory that you can use to share information between processes. Alexander Prohorenko explains the basic theory and demonstrates how to use it from PHP.   [PHP DevCenter]

User-Friendly Form Validation with PHP and CSS  Any non-trivial web application processes form data, and every secure web application has to validate that data on the server. Balancing security with user-friendliness can be tricky. Jeff Cogswell demonstrates one approach.   [PHP DevCenter]

Features
Creating and Consuming Web Services With PHP  Find out how to create XML-RPC, SOAP and REST web services using PHP, the most popular scripting language for web applications.   [webservices.xml.com]

PHP Foundations
Using MySQL from PHP, Part 2  One of PHP's prime benefits is its close integration with databases, especially MySQL. Having explained the basics of MySQL, John Coggeshall turns his attention to demonstrating how to use MySQL from PHP. This week, learn how to count results, handle errors, and handle picky details.   [PHP DevCenter]

Database Templates with MySQL  After designing a few databases for clients, you'll likely start to see design similarities. Why not exploit those patterns to create templates for further customization? Russell Dyer demonstrates how to create and customize generic MySQL table templates.   [ONLamp.com]

PHP Foundations
Using MySQL from PHP  One of PHP's prime benefits is its close integration with databases, especially MySQL. Having explained the basics of MySQL, John Coggeshall turns his attention to demonstrating how to use MySQL from PHP.   [PHP DevCenter]

Web App Security Testing with a Custom Proxy Server  Assuming users will only access your web applications as you intend may be the best way to invite abuse. Attackers have tools to build bogus responses, so why not use the same techniques to toughen your own sites? Nitesh Dhanjani demonstrates how a custom proxy server can help you test the security of your web apps.   [PHP DevCenter]

PHP Foundations
MySQL Crash Course, Part 3  Almost every serious web application uses a relational database to store its data. At some point, you'll have to learn how to use them. John Coggeshall explains how to make the most of the SQL SELECT statement across multiple tables.   [ONLamp.com]

Using PHP 5's SimpleXML  Unless you've worked with SGML, you may find it ironic that XML can be hard to parse. Most choices boil down to event-based parsing, bulky tree-walking, or writing more XML. The upcoming PHP 5 has another option, SimpleXML, that can take the pain out of simple and common XML uses. Adam Trachtenberg explains.   [PHP DevCenter]



PHP Cookbook 
Recipe of the Day

You want to set a locale that all your PHP programs can use.

Do it now.


Today's News
July 24, 2005

web|works and php|works 2005 Program Online The full program of php/web|works 2005, a three-day conference on PHP and web technologies is available. The event will take place in Toronto, Canada, the birthplace of PHP, between September 14 and September 16. This year's speakers include Rasmus Lerdorf, Derick Rethans, Wez Furlong, John Coggeshall, Ilia Alshanetsky and many more. An early-bird special discount is in effect until August 1st, and special pricing is available for students, member of academia and non-profit organizations. [Source: php.net]

PHP 5.1 Beta 3 Available PHP 5.1 Beta 3 is now available! If all goes well, this beta release will be followed by a release candidate within a couple of weeks. Some of the key improvements of PHP 5.1 include: PDO (PHP Data Objects) - A new native database abstraction layer providing performance, ease-of-use, and flexibility. Significantly improved language performance mainly due to the new Zend Engine II execution architecture. The PCRE extension has been updated to PCRE 5.0. Many more improvements including lots of new functionality & many bug fixes, especially in regards to SOAP, streams and SPL. See the bundled NEWS file for a more complete list of changes. Everyone is encouraged to download and test this beta, although it is not yet recommended for mission-critical production use. [Source: php.net]

PHP 4.4.0 Released The PHP Development Team would like to announce the immediate release of PHP 4.4.0. This is a maintenance release that addresses a serious memory corruption problem within PHP concerning references. If references were used in a wrong way, PHP would often create memory corruptions which would not always surface and be visible. The increased middle digit was required because the fix that corrected the problem with references changed PHP's internal API. PHP 4.4.0 does not have any new features, and is solely a bugfix release. A separate release announcement is also available. For changes in PHP 4.4.0 since PHP 4.3.11, please consult the PHP 4 ChangeLog. [Source: php.net]

PEAR XML_RPC Vulnerability and PHP 4.4.0RC2 release An easily exploitable security issue was discovered in PEAR XML_RPC <= 1.3.0. We recommend that users of this PEAR class immediately upgrade to the latest version with: pear upgrade XML_RPC The same security problem exists in many other XML RPC implementations, please check if the installed applications that you use might have a similar problem. The new PEAR XML_RPC package is also bundled with the second release candidation of PHP 4.4.0RC2. Besides this new PEAR package there are two minor issues fixed since PHP 4.4.0RC1. As the improved reference support in PHP 4.4 might show as notices and warnings in your existing applications - in cases where PHP formerly just silently ignored this and often causing memory corruptions - we also recommend to test PHP 4.4.0RC2 with your applications. The final release is planned for July 11th. PHP 4.4.0RC2 can be found here. [Source: php.net]

PEAR XML_RPC Vulnarability and PHP 4.4.0RC2 release An easily exploitable security issue was discovered in PEAR XML_RPC <= 1.3.0. We recommend that users of this PEAR class immediately upgrade to the latest version with: pear upgrade XML_RPC The same security problem exists in many other XML RPC implementations, please check if the installed applications that you use might have a similar problem. The new PEAR XML_RPC package is also bundled with the second release candidation of PHP 4.4.0RC2. Besides this new PEAR package there are two minor issues fixed since PHP 4.4.0RC1. As the improved reference support in PHP 4.4 might show as notices and warnings in your existing applications - in cases where PHP formerly just silently ignored this and often causing memory corruptions - we also recommend to test PHP 4.4.0RC2 with your applications. The final release is planned for July 11th. PHP 4.4.0RC2 can be found here. [Source: php.net]


Sponsored by:




Contact Us | Advertise with Us | Privacy Policy | Press Center | Jobs

Copyright © 2000-2005 O’Reilly Media, Inc. All Rights Reserved.
All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.

For problems or assistance with this site, email