PHP Miscellaneous tutorials
Searching the web for a problem I face on a greek site about encoding, I found a very useful PHP class which changes the charset of a variable.
Related Tutorials
Non ASCII Characters in HTML documents
This tutorial explains: Basic Rules, French Characters in HTML Documents - UTF-8 Encoding, French Characters in HTML Documents - ISO-8859-1 Encoding, Chinese Characters in HTML Documents - UTF-8 Encoding, Chinese Characters in HTML Documents - GB22312 Encoding, Characters of Multiple Languages in HTML Documents.
Non ASCII Characters as String Literals
This tutorial explains: Basic Rules, French Characters in String Literals - UTF-8 Encoding, French Characters in String Literals - ISO-8859-1 Encoding, Chinese Characters in String Literals - UTF-8 Encoding, Chinese Characters in String Literals - GB2312 Encoding, Characters of Multiple Languages in String Literals.
Non ASCII Characters with MySQL
This tutorial explains: Storing Non ASCII Characters in Database, Transmitting Non ASCII Characters to the Server, MySqlUnicode.php - UTF-8 Sample Script.
Receiving Non ASCII Characters from Input Forms
This tutorial explains: Basic Rules, Receiving Non ASCII Characters with GET Method, Receiving Non ASCII Characters with POST Method, Receiving Non ASCII Characters in UTF-8, Decoding HTML Entities.
phpMyAdmin Tutorial: Transformations & PDF-Features PHP tutorial
This tutorial is targeted at both novice users and advanced users. Even though I describe many steps in detail for those of you who are not so used to phpMyAdmins interface, I also describe some of the features to be used by advanced users. I tried to create this tutorial with an easy structure, so everyone can skip sections he's not interested in. Even though this page is largely sized, I decided to put everything on a single page to allow quick scrolling to anywhere you like.
Mini-Chat Tutorial
This tutorial is about my mini-chat script. It's not really a chat, since dialogs are updated only when page refreshes. It is the first tutorial of a series for some development techniques.
Template Refernce in Joomla! 1.5
This tutorial covers key reference information under easy-to-look-up headings that will help you with Joomla! template development. From the many CSS ID and class styles that Joomla! outputs, to Joomla!'s jdoc tags and their controlling attributes, the information in this tutorial is listed along with key links to bookmark which will make template development as easy as possible. (pdf tutorial, install Acrobat Reader to read this tutorial)
Pagination with PHP
This tutorial is designed to guide you through the logic and code behind the process of paginating data in PHP. In this tutorial, the data is retrieved from mySQL database. I feel you will be able to grasp this tutorial better if you have a decent knowledge of PHP and mySQL.
Web Database Tutorial (PHP & MySQL)
This is a tutorial on how to create a web database application using PHP and MySQL on a Unix platform (Linux or Mac OS X). The example used is a database to manage web site links. The same ideas used in this tutorial can be expanded to most web applications like phone directories, personalization, survey polls, etc... All are based on inserting, displaying and managing data in a database.
Graphics Tutorial
I will in this tutorial show you how to create images with PHP, this uses inbuilt functions and doesn't need anything else then just PHP to work.
How To Install Apache+PHP+MySQL PHP tutorial
This tutorial discusses the setup of Apache, PHP and MySQL for both Windows and Red Hat Linux.Because the install for Windows is straightforward, the discussion for Windows is an overview. The tutorial and how to for Red Had Linux is much more detailed and covers both downloading and installing packages as well as using Apache's DSO Module.
Agile works best in PHP
In this tutorial, we will cover the following: Introductions to agile philosophy, including agile values and agile principles Common problems and fears that developers face while developinga product What is meant by agility and how it can help Extreme programming principles Advantages of agile process models Team agility Agile process models Agile principles for the PHP project team. (pdf tutorial, install Acrobat Reader to view this tutorial)
How to Parse a CSV File
In this tutorial you will learn a simple way to parse CSV files using PHP and output the text of the fields you need. This tutorial is not going to go into what you can do with the data once you get it from the CSV as the possibilities are endless.
Form Submit Tutorial
Sean's blog script flatfile based with Form submit tutorial.
Adding and Managing Image Content in Joomla!
Utilizing multimedia effectively within a Joomla website requires discipline and knowledge. Multimedia provides us with stunning interactive user experiences and wonderful design options. This tutorial provides complete assistance that will enable you to utilize image content effectively within your Joomla! website. Along with browser support and accessibility for images, you will learn to create multimedia image galleries and slideshows as well as include images in articles and modules. (pdf tutorial, install acrobat reader to read this tutorial)
Basic mySQL Queries And PHP
This tutorial will help you get started in working with mySQL and PHP. It will assume that you have no prior experience in using mySQL with PHP before. After reading this tutorial, you should get an idea on what a database is, how to use it, and how to access it.
Register Login Script
The following tutorial will teach you how to add a login/register script to your site. This tutorial requires 6 files, and PHP with MySQL installed.
The Complete Shoutbox Tutorial
Now that you know the basics of PHP and MySQL connectivity, its time to add a little interaction with this cool little applet that allows your users to leave short messages - a system commonly referred to as a shoutbox. In this tutorial I will detail everything you need to know about making your very own shoutbox, right down from the HTML form, to the smilie emoticon configuration and anti-spam measures.
PHP tutorial for beginners
This tutorial is specially written for PHP newbies who need to start writing PHP. It contains link to installing PHP for beginners too.
File Upload
In this tutorial we'll be creating a basic File Upload System. This tutorial only requires you (preferably) to have a basic understanding about PHP variables and loops. Although, some pre knowledge about PHP arrays wouldn't hurt either!
Saving Movie Clip Positions with PHP and MySQL
Good understanding of Flash Actionscript is required to complete this tutorial. What this tutorial basically does is to show you how to set up a table in a mySQL database, then using PHP (or asp with a few minor changes) manipulate that table and interact with Flash.
Permission System
This tutorial will not cover building a login (user) system. This tutorial will only cover how to expend your login system to create permissions for users.
how many visitors online - PHP tutorial
Ever wonderd how to display how many visitors you have online. In this tutorial i will show you an easy but effective way to display the amount of online visitor's.
PHP Login script tutorial
Learn to create a simple login system with php + mysql script, this tutorial easy to follow, teach you step by step.
PHP Shopping Cart Tutorial
This tutorial explains how to create a shopping cart script with PHP and MySQL.
Basic mySQL Queries And PHP
This tutorial will help you get started in working with mySQL and PHP. It will assume that you have no prior experience in using mySQL with PHP before. After reading this tutorial, you should get an idea on what a database is, how to use it, and how to access it. You can then go ahead and start reading on the many more advanced topics regarding database systems.
Form to Email
You can apply this tutorial for your contact form on your sites. This tutorial shows you in 1 file with a normal contact information form. When you submit, this file will be sent an email immediately to the target email including in codes.
Learn to Embed and Display Third party videos
learn how to embed and display third-party video within your content,using Embedded Media Field to automatically parse and display video from an editor's pasted URL from You Tube, Blip.TV, or other providers. (pdf tutorial, install Acrobat Reader to view this tutorial).
Add Images and Plugins to your WordPress Website
This chapter explains that blog posts arent the only content in ones blog and they can add pages of static information as well as upload and manage images on their site. They will also learn how to add plugins, which will help enhance the capabilities of their entire website. (pdf tutorial, install Acrobat Reader to read this tutorial)
Creating a graphic clock using Date() functions in PHP
In this tutorial I aim to show you one of the many ways of showing the time on a webpage. Many websites use a textual display of the date and time on their site. In this tutorial we will be creating a unique graphic clock using PHP.
How to create an AJAX contact form
This tutorial shows users how to create an AJAX contact form. The form method in this tutorial is set to POST.
Authentication and Security
In this tutorial we discuss the techniques used to build web database applications that authenticate, authorize, and protect the data that is transmitted over the Web. The topics covered in this tutorial include: * How HTTP authentication works and how it can be used with Apache and PHP * Writing PHP scripts to manage user authentication and authorization * Writing PHP scripts that authenticate users against a table in a database * The practical aspects of building session-based web database applications to authenticate users, including techniques that don't use HTTP authentication * A case study example that develops an authentication framework, demonstrating many of the techniques presented in this tutorial * The features of the encryption services provided by the Secure Sockets Layer.
Working with Arrays
When simple variables are just not good enough, arrays come into play. The array section in the PHP manual, available at http://php.net/array, lists approximately 80 functions that are helpful. Therefore, this tutorial could be filled with array-related code alone. However, not all of these functions are really used often. Therefore, this tutorial presents the most important problems you'll have to solve when working with arraysand, of course, solutions for these problems.
Herong's Tutorial Notes on PHP
This free book is an excellent tutorial book for beginners. It is a collection of notes and sample codes written by the author while he was learning PHP himself. Topics include Command Line Interface (CLI), array, CGI, cookie, database, HTTP, IIS, image files, loop, mail, MySQL, PHP, request, session, SMTP, SOAP, SOAP Extension, SQL, WSDL.
Send an Email Attachment with PHP
To send email attachments you need to make use of MIME (Multipurpose Internet Mail Extensions) - a mechanism that allows email to go beyond a basic, limited character set. MIME has many uses but for the purposes of this tutorial we will send a multipart/mixed MIME email; this means we can send a text email and attach a PDF file to it (for information on attaching other file types please see the end of this tutorial). The MIME side of things will be exaplined as we go.
Sessions
Stateful web database applications can be built using sessions, and session management is the topic of this tutorial. In this tutorial we: * Discuss how sessions are managed in the stateless environment of the Web and introduce the three characteristics of server-side session management * Introduce cookies for storing state * Show how to use and configure the PHP session management library * Use PHP session management to improve the client entry <form> in the winestore case study * Provide a brief list of reasons for using, or avoiding, session management over the Web.
Getting to know GD
Getting to know GD by using this tutorial.
Introduction to PHP
A simple tutorial, outlining the basics.
Exec and system command and results
This tutorial will show you how to run exec commands and system commands from php using a form, you do not need a database to run these commands but you do need permission to be able to run command line commands from PHP. This tutorial will show you how to do this using an example with the "ping" command, in short we will go through how to ping and display the results via browser.
Multiple CSS
In this tutorial we'll see how you can let your visitors choose the style of your website.
 
Categories