Related Tutorials
Reading the clean text from RTFRich Text Format (often abbreviated as RTF), to surprise of many, is quite complex text data format. Let's read the plain text from RTF file.
Reading the clean text from PDF
Portable Document Format (PDF) is a file format created for the document exchange. Let's read the plain text from PDF file.
PHP Script Tips - Reading and Writing Files
A collection of 14 tips on PHP functions on file input and output. Clear answers are provided with tutorial exercises on opening files for reading and writing, appending data to existing files, reading file by line or character, reading file in binary mode.
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.
Reading and Writing files in PHP
PHP follows almost same way of writing and manipulating files as in standard C. That is why it becomes so easy for a developer with C language background to create php application that uses files to save and retrieve data. It is a short tutorial that will get you started with writing and manipulating text files.
Reading Files in PHP
In this section we are going to cover how to open and read file content in PHP.
Reading from a file
We can use the fread function to read from a file in PHP .
Opening Files in PHP
In this section we are going to cover how to open local files and remote files/urls for reading and writing.
Getting Clean (Validation)
We're going to take a closer look at these filters, how to use them, and build a few custom functions.
While Loops
PHP loops let you run a block of PHP code over and over again. They're great for repetitive tasks such as reading data records from a database, or displaying rows of a table in a Web page.
Writing And Reading Multiple Cookies
This tutorial shows you how to set multiple cookies. Setting multiple cookies can come in handy if you wish to store more than one piece of information about a user, such as Username & Password.
IMAP Mail Reading With PHP3
Don't you hate it when you are at a friend's house or visiting relatives and you want to check your email but dont know your POP/IMAP settings. Or even worse, they dont have your POP or IMAP software?
Securing PHP Web Applications
In this article, I'll discuss and demonstrate some common web-application security flaws and then show you how to detect them. Hopefully by the time you're done reading this, you'll be aware of at least some of the most common ways that an intruder will try to break through your code and get unauthorized access to your application.
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.
Simple Contact Form
Learn how to write a clean and easy contact form for your site.
Making summaries from larger bodies of text using substr
Many websites containing articles have a summary which leads you to the main article. PHP has a function for displaying a small section of the text, it is substr(). substr() has a number of uses, it can limit the amount of text by a set value...
Reading INI files with PHP
Read INI files using PHP.
Sanitising and Cleaning Variables
sanitising or cleaning a variable is standard practice to ensure that a variable used within a page or even within a dynamic SQL query is clean from any nasties which would cause harm to the script or database.
HTML to XHTML
This is a very handy function if you want to clean up your content before storing it into your database. It uses "eregi_replace" to replace every character with the desired one. I would use it to convert a HTML code to XHTML to make it valid.
Build up a function to secure a text box
If you run a web site one of the things you should have in mind is security. Your site security/insecurity is due in part by text boxes. If you allow to your website users to send information you have to use form and consequentially text boxes.
Writing to Web Databases
Writing data in web database applications requires different techniques than reading data. Issues of transactions and concurrency become important, and we introduce these issues and the principles of dealing with them in this tutorial.he introduction is practical: we focus on the basic management techniques of locking and unlocking tables, and how to safely implement simple database writes in MySQL when there is more than one user simultaneously accessing a database. Most importantly, we identify when special approaches are required, and when these can be safely omitted from a web database application.
Text & Number Functions
This tutorial covers various different text manipulation and management functions, many of which are absolutely invaluable for your scripts.
Sending MIME email in PHP
Tired of sending those drab textual notifications and newsletters to your friend and clients? Ever wanted to send attachments and/or HTML embedded email.The answer is MIME. The ensuing few pages explain the basics of MIME, creating MIME-compliant messages and then ends with a working class implementation of sending MIME complaint email in PHP. Note that references to calling script, caller etc. denote the script that uses the class we are about to develop and client/MUA etc. denote a mail reading client or mail user agent.
Clean way to call to multiple xmlrpc remote servers
I've got a class library in PHP. This class library is distributed in a several servers and I want to call them synchronously. The class library has a XMLRPC interface with Zend Framework XMLRPC server.
Generate text with transparent background
Use this ready function to create an image with text with a transparent background. Could be useful for showing your email address, without having to worry about spammers catching it.
Shortening multiple URLs with jQuery and bit.ly
In this tutorial you will learn how to create a function that will automatically find all URLs in the text in a text area and replace them with shortened URLs by way of bit.ly
Centering Text in PHP/GD Images
Learn how to center your text drawn on images using the GD library and PHP.
Input - Output String Functions
This tutorial is showing some functions that you need to use for your inputing form (as text field, text area) because, it is not security to receive string datas and input them directly into your database.
Simple Text-based counter
This simple tutorial will explain how to program a simple text-file counter.
Smileys System
In this tutorial we'll be creating a system which will convert messages including text smilies into messages including icon smilies ( text => smilie icons ).
Rss count as pure text
Learn how to display your rss count as pure text, instead of the feedburner image.
Graphics in PHP
Most people use php to produce dynamic html, but this is not the only thing php can do. It has some graphic methods too, you can draw lines, circles, manipulate image, combine text and images (to create buttons dynamically for example), etc etc. In other words, you can create dynamic graphics as well as dynamic text.
Remove whitespace from string
I have been doing a lot of coding using the framework CodeIgniter lately so I have been creating many simple helper functions to perform different tasks. My most recent project involves creating PDF files with text from a database. The problem is that the text from the database is dirty, meaning that in a persons name there could be multiple spaces between the persons first and last name or even spaces at the end of their name. In dealing with legacy data that you cannot change but needs to be output correctly without those spaces you get creative. The below function should help solve this issue .
PHP: Sending Email (Text/HTML/Attachments)
So, you want to send automated email messages from your PHP application. This can be in direct response to a user's action, such as signing up for your site, or a recurring event at a set time, such as a monthly newsletter. Sometimes email contains file attachments, both plain text and HTML portions, and so on. To understand how to send each variation that may exist on an email, we will start with the simple example and move to the more complicated.
SMS/Text Messages
In this tutorial, I'll show you how to send one to many popular phone service providers.
File System
One of the most useful features of a server side language is its ability to interface with the file system on the server that hosts the website. This feature clearly distinguishes the language from a client side language such as JavaScript. While JavaScript is sent down to the client's browser and is then interpreted on their computer, server side languages such as PHP are interpreted and resolved on the server, and only the end result is sent down to the client's browser. It is because of this fact that the language has the ability to interface with the files on the server. PHP has the ability to work with both text files and sophisticated database systems. This part of the tutorial discusses text files; we'll get into databases later.
Creating Dynamic PDF files using HTML and PHP
Some may need to convert some text into HTML and some may need to convert some HTML content to an image format. The main reason for the need to convert from one file format to another is because the target file format is best suited for targeted medium where the content need to be displayed. The targeted medium may be an email, a printed hard copy or a web browser. The text format is best suited for sending emails, as the possibility of the email contents getting corrupted in the transition is much lesser, when compared to the HTML formatted emails. PDF document or a word document would be the best choice for taking a printed hard copy and obviously HTML is best for showing contents in web browsers.
text counter
A common feature on most websites is a counter to show how many visitors have been to your site.
Counter
Learn how to make a text counter in PHP.
How to Identify Duplicate and Similar Text
It's not a common problem but sometimes you have to check if 2 texts are similar. If you have to aggregate data from multiple sources you might know what I'm talking about.

Report
Adobe Fireworks
Adobe Flash
Adobe Illustrator
Adobe Image Ready
Adobe Photoshop
3D Studio Max
Cinema 4D
Maya 3D
Microsoft Excel
Microsoft PowerPoint
Microsoft Word
Microsoft Access
MySQL
C and C++
Python
Visual Basic
.htaccess
Adobe DreamWeaver
ASP
CGI & Perl
CSS
Java
JavaScript
Microsoft FrontPage
Windows Vista
Windows 7