|
|
|
| Output buffering is a powerful feature of PHP 4.0. that lets developers create advanced and efficient programs very easily. This article covers the HTTP header, how output buffering helps you deal with it, and describes several advanced usages of the output buffering feature. |
|
|
|
| Hits:
984 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Jul-20-2005 |
|
|
|
|
|
| This article by Tim Perdue at PHPBuilder.com offers helpful guide to some of the best practices in PHP coding style. Topics covered: Indenting, Control Structures, Function Calls, Using Comments, PHP Tags, and Strings. |
|
|
|
| Hits:
1017 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Aug-23-2005 |
|
|
|
|
|
| This article describes how to easily create a PHP extension with C or C++. Examples of bundled PHP extensions include the MySQL extension or the Sablotron XSL extension. These allow you to provide features to PHP script authors by letting you create functions, in C or C++, which can then be directly called in PHP scripts. |
|
|
|
| Hits:
708 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Jun-28-2005 |
|
|
|
|
|
| A discussion on PHP development on Windows platform. It covers installation, how to enable functionality through extensions (DLLs), sending mail, Filesystem functions, and using COM. |
|
|
|
| Hits:
1022 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Jun-09-2005 |
|
|
|
|
|
| This article discusses three basic steps that can be taken to avoid creating bad code: ensuring that you can trust your input by verifying the input you receive from users, manipulating that input data carefully, and providing the appropriate people with secure, reliable access to that data. |
|
|
|
| Hits:
1097 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Sep-13-2005 |
|
|
|
|
|
| In this second part of the series, it describes 7 common mistakes in PHP programming that will lead to drastically slower run times and less secure scripts, in addition to less maintainable code. Topics covered: Not Following Basic Naming Conventions (Variable Naming, Function Naming), Databases & SQL (Misapplying database functions, Misusing SQL: Not Fetching What You Need, Misusing SQL: Not Fetching What You Need), Lack of Error Checking, Overusing OO, Misusing Regular Expressions, Programming PHP Like It Was Some Other Language, and Not Being Security Conscious (System Call Security, Checking an e-mail address). |
|
|
|
| Hits:
909 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Jun-19-2005 |
|
|
|
|
|
| This article is intended for the PHP programmer interested in avoiding some of the most common mistakes when applying PHP. This first part of the article series presents a list of 7 mistakes that while not critical, will lead to slower and less maintainable code. Topics includes: Improper use of printf, Misapplying Semantics, Lack of Inline Documentation, Too many variables, too much time, Rewriting existing PHP functions, Not separating client side from server side, and Using Outdated Paradigms. |
|
|
|
| Hits:
998 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Jul-02-2005 |
|
|
|
|
|
| The built-in COM functionality of PHP4 is quite attractive for some of us programming in the win32 environment. So far, there is not much documentation on the subject. This short article will explain how to use COM in real PHP4 programming with three examples using MS office 2000 Word and Excel programs and the Adobe Distiller program. |
|
|
|
| Hits:
874 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Jun-02-2005 |
|
|
|
|
|
| So you've finally managed to install PHP. Anxious to use your new tool, you find the print function in the manual, write your own hello world, load the page and the dreaded "Parse error: parse error in /usr/local/apache/htdocs/test.php on line 2" error pops up in front of you. You know the scenario, read on to learn the fixes.... |
|
|
|
| Hits:
913 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Aug-12-2005 |
|
|
|
|
|
| Control structures are some of the coolest things in PHP. They take a lot of the work off of your shoulders and place the burden on the language itself. They are especially useful for making sites where you need to make a page do something over and over again. A simple looping statement, when used correctly, can pull all of that information for you and do it over and over again, thus making a large page like that a breeze. This article explains how to use these control structures and what each should be used for. |
|
|
|
| Hits:
916 |
|
| Ratings:
0.00 |
|
 |
|
|
|
|
|    Date Added: Jul-08-2005 |
|
|
|
|
|