The last variation that we will consider is email with attachments. To send an email with attachment we need to use the multipart/mixed MIM...

Advanced PHP tutorial is useful for learning php, mysql, ajax, jquery, javascript, HTML, CSS with advanced concepts.
The last variation that we will consider is email with attachments. To send an email with attachment we need to use the multipart/mixed MIM...
The next step is to examine how to send HTML email. However, some mail clients cannot understand HTML emails. Therefore it is best to send ...
At first let's consider how to send a simple text email messages. PHP includes the mail() function for sending email, which takes thr...
Record locking is used for preventing simultaneous update of the same data and therefore avoiding inconsistent results. A locked record mea...
Browsing the World Wide Web you can find out various methods of creating files with PHP. In this article we demonstrate several ways to cre...
The Xdebug is the extension for PHP that helps debugging PHP scripts by providing a lot of valuable debug information. The debug informatio...
Portable Document Format (PDF) is a file format created for the document exchange. Each PDF file encapsulates a complete description of a f...
Rich Text Format (often abbreviated as RTF), to surprise of many, is quite complex text data format. During its long history RTF bought a l...
In this article we will resolve the task of reading the “clean” text from the Office Open XML (more known as DOCX) and OpenDocument Forma...
Regular expressions are a powerful tool for examining and modifying text. Regular expressions themselves, with a general pattern notation a...
This tutorial will describe how to create thumbnail images on the fly using PHP. Furthermore you will learn how to process a whole folder o...
Sometimes it can be useful to have a dump of the current database schema. The script below reads the schema from a MySQL database and outpu...
Sometimes, you might want to get the current page URL that is shown in the browser URL window. For example if you want to let your visitors...
JavaScript is mainly used as a client side scripting language, while PHP is a server side technology. Unlike Java or ASP.Net, PHP doesn...
CAPTCHA is a simple test to determine if a user is a computer or a human. It is used to prevent spam abuse on the websites. So if you use C...
If you are developing a password-protected web site, you have to make a decision about how to store user password information securely.
Sometimes you need to add an extra protection to password-protected website. This article explains how access to the login page can be rest...
DSN stands for 'Data Source Name'. It is an easy way to assign useful and easily rememberable names to data sources which may not b...
Below is the code for connecting to a MSSQL Server database.
Creating new directories in PHP is accomplished using the mkdir() function, which takes two parameters. These parameters are, in order, a d...
PHP has the rmdir( ) function that takes a directory name as its only parameter and will remove the specified directory from the file syste...
As is necessary for any language, PHP has a complete set of directory support functions. PHP gives you a variety of functions to read and ma...
PHP makes uploading files easy. You can upload any type of file to your Web server. But with ease comes danger and you should be careful whe...
In the example below, using graphic functions we will build a bar chart based on the values stored in MySQL database. In our case, values r...
Creating images on the fly can be a very useful skill. PHP has some built-in image generation functions, further more, to generate new imag...
A cookie is a message given to a Web browser by a Web server. The browser stores the message in a small text file that the server embeds on ...
we are going to create our PHP file that will process the data. When you submit your HTML form PHP automatically populates two superglobal ...
One of the best features of PHP is possibility to respond to user queries or data submitted from HTML forms. You can process information gat...