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 Foundations MySQL Crash Course, Part 2
Almost every serious web application uses a relational database to store its data. At some point, you'll have to learn how to use it. John Coggeshall explains how to change tables, select only the data you want, and delete rows from MySQL.
[ PHP DevCenter]
PHP Foundations MySQL Crash Course
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 the basics of relational databases with MySQL.
[PHP DevCenter]
Pitfalls of Transactions with PHP
Database transactions are important for data reliability and consistency. Used properly, they can prevent many types of errors. Used improperly, they can cause many other kinds of errors. Kimberlee Jensen demonstrates using transactions with PHP well.
[PHP DevCenter]
PHP Web Services Without SOAP
Web services are hot these days, and SOAP gets a lot of the buzz. It's not the only game in town, though. REST advocates claim their approach is how the Web was meant to be. You decide. Adam Trachtenberg, coauthor of PHP Cookbook, demonstrates how to access Amazon.com's web services with PHP and REST; no special tools needed!
[PHP DevCenter]
Looking into Zend Studio 3.0
Longtime PHP supporter Zend recently released Zend Studio 3.0, a revised and revamped development environment for PHP. PHP Foundations columnist John Coggeshall leaped at the chance to take it for a test drive.
[PHP DevCenter]
PHP Foundations PHP Security, Part 3
A malicious user will likely start his attack by using your system in ways you never anticipated. Your system logs are an oft-neglected defense tool. John Coggeshall shows how PHP's error logging and reporting functions can help you secure your applications.
[PHP DevCenter]
Modular PHP Development with FastTemplate
Good web developers already have a handle on separating logic from presentation from content. Great web developers know how best to work with their teams. If you're responsible for pulling together developers, designers, localizers, and writers, how can you separate responsibilities in your web application? Daniel Solin explains how his team uses PHP's FastTemplate to keep everyone on track.
[PHP DevCenter]
PHP Foundations PHP Security, Part 2
If you have users, you'll undoubtedly have bad guys trying to break things. As a developer, it's your responsibility to make sure your code is secure. John Coggeshall explains how system calls from PHP can be exploited -- and how to make them secure.
[PHP DevCenter]
PHP Foundations PHP Security, Part 1
If you have users, you'll undoubtedly have bad guys trying to break things. As a PHP developer, it's your responsibility to make sure your code is secure. John Coggeshall demonstrates one common PHP error that can leave you vulnerable, and he explains how to think like a bad guy to prevent these mistakes in the first place.
[PHP DevCenter]
PHP Foundations Common Style Mistakes, Part 2
Writing code well means balancing expressiveness with elegance. Remember, you're writing code that must be maintained. In the second of a series on PHP Paranoia, John Coggeshall gives three tips to write code that's easier to understand.
[PHP DevCenter]
A PHP Web Services Client
Web services are promised to make your life easier. For now, a few companies allow you access to their data through web services APIs. Adam Trachtenberg, coauthor of PHP Cookbook, demonstrates how to write a PHP application to Amazon's web services API.
[PHP DevCenter]
PHP Foundations Common Style Mistakes, Part 1
Programming securely is more than working down a list of checkboxes. You must adopt a security mindset. In the first of a series called PHP Paranoia, John Coggeshall explains several PHP style mistakes that make writing solid code more difficult.
[PHP DevCenter]
The Dynamic Duo of PEAR::DB and Smarty
It can be difficult to separate business logic and formatting in PHP. There are several good templating solutions, though, including the popular and powerful Smarty. Joao Prado Maia demonstrates how to use Smarty with a database back end through the PEAR::DB library.
[PHP DevCenter]
PHP and Heredocs
Tired of having PHP, HTML, and even SQL jumbled together in the same file? Are your designers, coders, and DBAs going crazy trying to keep everything in check? A clean layer of separation can help. Daniel Smith explains how PHP's heredocs can make your life much easier by separating presentation, content, and logic.
[PHP DevCenter]
Ten Security Checks for PHP, Part 2
The same global access that makes web apps useful means that you have to keep on top of security. Though it's easy to create sites in PHP, it's not immune to sloppy coding. Clancy Malcolm explains how to recognize and fix five potential security holes with PHP in the second of two articles.
[PHP DevCenter]
You want to change the
value of a PHP configuration setting.
Call to speaker for Paris Forum 2004 The AFUP, Association Française des Utilisateurs de PHP, is proud to announce the forum PHP 2004. For this unique event in France, we are looking for the best French speaking experts, who want to share their know-how and enthusiasm. The forum PHP features 2 days, with distinct themas: Technical day, with the most advanced PHP technics Business day, with user cases and sucessuful projects The forum PHP 2004 will take place in Paris, at the FIAP Jean Monnet, on thursday 25th and friday 26th, november 2004. More information in French at this URL. [Source: php.net]
php|works 2004 Call for Papers Call to speaker for Paris Forum 2004 The AFUP, Association Française des Utilisateurs de PHP, is proud to announce the forum PHP 2004. For this unique event in France, we are looking for the best French speaking experts, who want to share their know-how and enthusiasm. The forum PHP features 2 days, with distinct themas :Technical day, with the most advanced PHP technics Business day, with user cases and sucessuful projects The forum PHP 2004 will take place in Paris, at the FIAP Jean Monnet, on thursday 25th and friday 26th, november 2004. More information in French at this URL. [Source: php.net]
php|works 2004 Call for Papers php|architect has announced php|works 2004, a three-day conference dedicated to PHP, its companion technologies and the business of open-source software that will be held in Toronto, Canada, September 22, 23 and 24, 2004. Effective now, and until May 24th, the php|works team is soliciting a Call for Papers for speakers who want to present at the conference. The CfP is open to the public, and your talk ideas are welcome! For more information, visit the php|works website. [Source: php.net]
PHP 5 Release Candidate 2 Released! The second Release Candidate of PHP 5 is now available! This mostly bug fix release improves PHP 5's stability and irons out some of the remaining issues before PHP 5 can be deemed release quality. Note that it is still not recommended for mission-critical use but people are encouraged to start playing with it and report any problems. Key changes since Release Candidate 1 include: The Zend Engine I compatibility mode (zend.ze1_compatibility_mode) has been re-implemented to more accuratly support PHP 4's object auto-clone behavior. All object-oriented extensions except for MySQLi have moved to studlyCaps. This includes SQLite, SOAP, Reflection API, Ming and others. Implementing an interfaces and/or abstract method with the wrong prototype is now a fatal error. For backwards compatibility, re-implementing regular methods with the wrong prototype will only result in an E_STRICT warning. Features as described in the Release Candidate 1 release announcement And lots more... For changes since Release Candidate 1, please consult the ChangeLog. [Source: php.net]
PHP 4.3.6 released! The PHP Development Team is proud to announce the release of PHP 4.3.6. This is is a bug fix release whose primary goal is to address two bugs which may result in crashes in PHP builds with thread-safety enabled. All users of PHP in a threaded environment (Windows) are strongly encouraged to upgrade to this release. All in all this release fixes approximately 25 bugs that have been discovered since the 4.3.5 release. For a full list of changes in PHP 4.3.6, see the ChangeLog. [Source: php.net]