Some Useful PHP LinksPosted By - Ko Ko - June 16, 2008
Summary : Please see below a list of links to useful PHP articles
PHP ေလ့လာ သူမ်ား အတြက္ အသံုးဝင္ မည့္ links မ်ား။
Microsoft .net စသည္ တို႔တြင္၊ အလြန္ ခ်မ္းသာ ၾကြယ္ဝ ေသာ ကုမၸဏီ ႀကီးမ်ား ေနာက္ခံ
ရွိၿပီး၊ ေငြကုန္ခံ ေဘးတီ ေပးႏိုင္ သျဖင့္ နာမည္ ႀကီးၾက ပါတယ္္။
PHP ကေတာ့ Zend အမည္ ရွိ ကုမၸဏီ ေလး တစ္ခုသာ ရွိ ပါတယ္္။ PHP မွာခ်မ္းသာ တာ
တစ္ခု ေတာ့ရွိ ပါတယ္၊ လူခ်မ္းသာ တာပါ။ ဒါကေတာ့ သန္းနဲ႔ ခ်ီတဲ့ ဝါသနာ ရွင္ community
ႀကီးရဲ့ ေငြ မယူပဲ အခ်ိန္ ေတြကို ေပးလွဴ
ေနျခင္း (donating their precious times) ပါပဲ။
၁၉၉၄ ကမွ စတင္ ေပၚေပါက္ ခဲ့ၿပီး ၂၀၀၈ မွာ ၁၄ႏွစ္ ရွိခဲ့ တဲ့ PHP ကို website
၂၅သန္း ေက်ာ္မွာ သံုးေန ပါၿပီး၊ အခု ဆိုရင္ လူသံုး အမ်ားဆံုး လို႔ ဆိုႏိုင္တဲ့
server side scripting language တစ္ခု လည္း ျဖစ္ေန ပါၿပီ။
Internet ေလာက မွာ အသံုး မ်ား ေနတဲ့ CMS မ်ားျဖစ္ ၾကတဲ့ PhpNuke, PostNuke,
Mombo, Joomla, e-107, forum application ျဖစ္တဲ့ Phpbb နဲ႔ blog
application ျဖစ္တဲ့ WordPress စသည္ တို႔ဟာ PHP နဲ႔ ေရထားတဲ့ web application မ်ား
ဝါသနာ ရွင္မ်ားရဲ့ အခ်ိန္ေတြ အမ်ား အျပား ေပးလွဴ ၿပီး ေရးထား တဲ့ ေဆာင္းပါး
မ်ားအနက္ အသံုးက် မယ္ထင္ တဲ့ links မ်ားကို ေအာက္တြင္ ေဖၚျပ လိုက္ ပါတယ္။ ေနာင္ကို
လည္း အလ်ွင္းသင့္ သလို ထပ္မံ ေဖၚျပ ပါမယ္။
- PHP Manual
- Complete and hyperlinked manual documents and explains all elements of PHP.
Includes FAQ section and user comments.
a text-size switcher to your Web site with PHP and CSS - TechRepublic -
This tutorial will show you how to add such a text size switcher to your Web
pages using PHP and CSS, thereby immediately making your Web site more
accessible and scoring you useful brownie points from everyone over the age of
Add mapping functionality to Web sites with Image_GIS in PHP [Tech Republic]
- Image_GIS is a PEAR package for PHP that allows you to add digital maps to
Web sites using free downloadable GIS files. Learn how to use the Image_GIS
package to add mapping functionality to a Web site.
Blobbing Data With PHP and MySQL (Devarticles) - Showing how to store and
retrieve binary data in a MySQL database by using PHP.
- Build your own Web
Service with PHP and XML-RPC - Harry takes us one step further into the
world of Web Services. Here he explains how to build your own Web Service - a
news feed - using PHP and XML-RPC.
Building Apache and PHP - Step by step tutorials describing how to build
Apache and PHP on various Unix flavours, including how to build every
component and library they depend on.
- Building Modular XHTML
Web Pages using PHP - A series of labs describing the process of building
modular, structured and valid XHTML Web pages using the PHP server-side
- Classes and
PHP (PHPBuilder) - A description in plain English of what classes are, and
how they can make your project easier to complete and extend.
Code Injection Vulnerabilities Explained - Code Injection is a term used
when code is injected straight into a program/script from an outside source
for execution at some point in time.
Compare file contents and render the output with Text_Diff - The Text_Diff
PEAR class makes it possible to compare file contents in the PHP environment
and render the output in various formats. This tutorial demonstrates this
class in action, illustrating how you can use it to dynamically compare file
contents with PHP and render the results as a Web page.
Comprehensible PHP Code (PHPBuilder) - A good programmer makes her code
look so simple and comprehensible that any other programmer can understand it
and appreciate it.
Configuration Manipulation With PHP Config (Dev Shed) - This article
introduces a toolkit designed specifically for manipulating configuration
files, thereby reducing the number of lines of code needed to read and modify
application variables. This toolkit is written in PHP and implemented as a
class, suitable for use in any PHP-based application and accessible via
standard OO techniques.
Control transformations using XSLT parameters (TechRepublic) - Phillip
Perkins outlines the advantages of using XSLT, which includes the fact that
you aren't restricting your data to one particular layout.
Create an audio stitching tool in PHP (TechRepublic) - One way to provide
visually impaired users with the ability to use OCR-defeating passcodes is to
stitch WAV files together. Phillip Perkins shows you how to deconstruct a
group of WAV files and reconstruct one large WAV file by compiling the group.
Database Abstraction With PHP (Dev Shed) - Take a look at the PEAR
database abstraction layer, one of the coolest PHP widgets out there.
- Database Enabled
Websites - A tutorial on using PHP3 and MySQL to develop database enabled
applications for websites.
- Devshed - Searching
with PHP and ht://Dig - Adds search capabilities to site using the popular
open source tools PHP3 and ht://Dig.
- Encryption and
Decryption using PHP and GnuPG (Zend) - The purpose of this article is to
show how to encrypt and decrypt information with GnuPG using PHP.
- Error Handling:
Stepping beyond True/False Results (Zend Technologies) - This article will
give you the capabilities to handle errors in an elegant manner without
diverging too much from your lazy ways. We will look at how to handle PHP
script errors, as well as passing around your own errors with the PEAR module:
File And Directory Manipulation, Part 1 (Dev Shed) - PHP comes with a
full-featured file and directory manipulation API that allows you (among other
things) to view and modify file attributes, read and list directory contents,
alter file permissions, retrieve file contents into a variety of native data
structures, and search for files based on specific patterns. This file
manipulation API is both powerful and flexible - two characteristics that will
endear it to any developer who's ever had to work with file manipulation
File And Directory Manipulation, Part 2 (Dev Shed) - This second segment
of the tutorial on the PHP filesystem API takes you into deeper waters,
showing you how to copy, delete and rename files; scan directories; work with
uploaded files over HTTP; perform pattern matches on file names; and read and
write to processes instead of files.
- GIS Mapping in PHP - A series of
tutorials on using PHP to access GIS mapping information. The tutorials start
with the basics, build on them, and provide many examples for more complex
HostLibrary: Configuring PHP5 to run on IIS6 - Explains how to install and
configure PHP5 on IIS 6 under Windows Server 2003.
To Compile PHP and Apache 2 from Source On Linux - Provides detailed,
step-by-step information on compiling PHP as an Apache 2.0 shared module on a
Implement Bayesian Inference Using PHP - Conditional probability -- the
probability of observing one event as a result of having observed another
event -- is a potentially important factor in designing intelligent Web
applications. Paul Meagher introduces Bayesian inference by discussing the
basic mathematical concepts involved and demonstrating how to implement the
underlying conditional probability calculations using PHP.
Implement MySQL-based transactions with a new set of PHP extensions - This
brief tutorial will show you how to use a PHP 5.x MySQL extension, called
MySQL Improved, to implement MySQL-based transactions with PHP.
Installing Apache, MySQL, and PHP on Linux - This tutorial is designed to
guide through the initial steps of setting up Apache, MySQL, and PHP on Linux.
- International PHP Magazine articles -
Offers many featured articles and tutorials online from the magazine.
- Introduction to
PHP Image Functions - An excellent overview of PHP image functions,
including source code and interactive online examples.
- Jason Bradley Online -
PHP and GIMP tutorials.
- Manual Quick Reference -
Quick reference that lists all PHP functions.
- Official PHP FAQ - A list of
Frequently Asked Questions about PHP and their answers.
- Oracle/PHP FAQ - Describes how
PHP interacts with the Oracle Database.
PEAR MDB Database Abstraction Layer (International PHP Magazine) - This
article gives a good introduction to the database abstraction package PEAR MDB.
The focus is on explaining the more advanced features of MDB like data type
abstraction and the XML based schema management that go beyond what other
similar packages offer. A basic level of understanding of PHP and SQL is
- PHP and MySQL Tutorial (PHPsimple)
- PHP and MySQL tutorial. Learn how to create sites using PHP and MySQL in a
series of simple tutorials.
- PHP and
Regular Expressions 101 (WebReference) - This tutorial steps through the
POSIX-compliant regular expression functions in PHP in a straightforward
PHP Common Mistakes and their Solutions - About the various security
concerns and mistakes people make when developing, and their solutions.
- PHP Faq from alt.php - The home
of the newsgroup alt.php, contains frequently asked questions and answers from
- PHP Feedback Form with
Source Code - Tutorial for feedback, bug report, contact PHP forms
includes all copy and paste code.
- PHP For
Designers - PHP introduction for web designers by Matt Mullenweg.
Knowledge Base - A repository of PHP related frequently asked questions. A
growing collection in a searchable question and answer format.
PHP MySQL Interactive Website Design - The lessons provided in this PHP/MySQL
tutorial are short and simple. You'll learn to create and manipulate a simple
database of names and birthdates.
PHP RRDTool tutorial - A tutorial on using RRDTool's PHP extensions to
gather data, report statistics, and generate graphs.
- PHP Security Guide -
Guidance from the PHP Security Consortium on how to develop more secure
- PHP Tutorial (by Martin
Geisler) - This tutorial is aimed at users who have no previous experience
with programming in PHP or any other programming language.
- PHP Tutorial (Tizag) - A PHP
tutorial that covers all the basics of PHP. It is geared towards web
developers with little or no PHP experience.
- PHP Virtual
Guide - Video tutorials covering PHP from the basics to advanced
- PHPCatalyst - Dedicated to
provide tutorials and step-by-step help for beginners. Instructions on basics
of PHP programming, examples and coding PHP with MySQL.
Pitfalls of Transactions with PHP (ONLamp) - 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.
- Programming PHP
- A wikibook about programming in PHP. Also provides external links for more
Resources with phpCache (Website Publisher) - Tutorial explains how to
implement the phpCache script and use it to keep your database server load
Search Engine-Friendly URLs (Website Publisher) - Article describes three
ways to make your URLs search engine friendly using PHP.
Serving XHTML with the correct mime type using PHP - Describes how to send
XHTML with the correct mime type safely using PHP. Includes the ability to
"fall back" to HTML if the viewing web-browser does not support XHTML.
Simple Linear Regression With PHP - In contrast with other open source
languages like Perl and Python, PHP lacks a robust community effort to develop
a math library. This article provides an example of a PHP math library called
SimpleLinearRegression that demonstrates a general approach that can be used
to develop PHP math libraries.
- SimplePHP - Windows
Installation Guide for Apache + PHP + MySQL + PHPMyAdmin.
- SQL Injection [Chris
Shiflett: Security Corner] - Most Web applications interact with a
database, and the data stored therein frequently originates from users. Thus,
when creating an SQL statement, a developer may use client data in its
construction. This article explains SQL injection by looking at a few example
attacks and then introducing some simple and effective methods for prevention.
By applying these best practices, you can practically eliminate SQL injection
from your list of security concerns.
- Static Free Energy (Zend)
- This tutorial will show you how to produce static html pages using PHP. This
is important if you want the benefits of using PHP to build sections of a site
where the content of the pages doesn't change very often.
- Stopping spambots
from submitting forms - Demonstrates a technique for preventing spambots
from submitting forms, using questions such as "which day comes after
Tuesday?" or "spell the number 7 in lowercase letters".
- Template Example with PHP
Includes - Show how to use 'php includes' inside a template.
Security Checks for PHP (ONLamp) - Though it's easy to create sites in PHP,
it's not immune to sloppy coding. Clancy Malcolm explains how to recognize and
fix potential security holes.
Three-Tier Development with PHP 5 (ONLamp.com) - Luis Yordano Cruz
demonstrates three-tier PHP application design with PEAR::DB_DataObject,
Smarty, and PHP 5. The article assumes that you have some familiarity with
HTML, Smarty, PEAR::DB_DataObject, MySQL, and PHP 5.
- Use BB
Code in Your PHP Application (SitePoint) - BB code is a simple set of
instructions that provide rules as to how a piece of text should be formatted.
In this hands-on tutorial, Stoyan explains the basics that every developer
should know about the use of BB code in PHP applications.
Cookies in PHP (Website Publisher) - Learn how to set and read cookies
using the PHP scripting language.
PHP 5's SimpleXML - This tutorial explains the usage of the Simple XML
extension new to PHP 5. It provides examples of reading and querying XML data.
- Web Programming Tutorial for
the Absolute Beginner - An easy to follow tutorial which focuses on the
most elementary PHP concepts. Suitable for people who have heard of PHP, but
who have never actually seen or written PHP or any other programming language.
Computerworld PHP QuickStudy - Article by Sharon Machlis in ComputerWorld.
Explainer on the PHP scripting language and what IT managers should know about
it. Includes an interview with PHP creator Rasmus Lerdorf and links to other
Web resources. (February 4, 2002)