File Manipulation
Results 1 - 20 of 70
Reading the plain text from PDF with PHP
Portable Document Format (PDF) is a file format created for document exchange. Let's read the plain text from the PDF file.
Creating a file upload system
In this tutorial I will show you how to create a simple file upload system with your user can upload a file from the local computer to your web server. As you will see it is not so complicated to implement this very useful script.
Creating a file manager
In this tutorial I will show you how to create a PHP application to display directory content (filename, file size, modification date) and navigate between them.
Creating file online
In this tutorial I will show you how to create a file on your web server using your browser. We will create a html form which will be store the file during the form processing mechanism.
Renaming Files within a Directory
Using the common File I/O functions of Php such as opendir, is-dir, readir and rename, this script lists files while extracting unwanted ones and rename them.
Writing to a File
This script takes some text from an online form and write it to a file on the server. If the file does not exist, it attempts to create it.
PHP File Upload Tutorial
This tutorial will demonstrate how to handle file uploads in PHP. The example will show how to create a simple XHTML form with a file field, and a PHP script that handles the form submission by moving the uploaded file to a designated directory.
PHP File Download Security
Protect your downloadable content by storing the files outside your webroot. This is an easy solution to online subscription content protetcion.
Reading the "clean" text from RTF
In this article we will resolve the task of reading the “clean” text from the Rich Text Format (often abbreviated as RTF) using PHP. Note that we are not going to apply any third-party software.
Reading the "clean" text from DOCX and ODT
In this article we will resolve the task of reading the “clean” text from the Office Open XML (more known as DOCX) and OpenDocument Format ODT using PHP. Note that we are not going to apply any third-party software.
Empty Directories from the files
Empty Directory And delete the templete engines cached files
Uploading a file and changing the name
Since, php automatically replaces the files with same name. In this Tutorial you will learn how to upload the file and change the name of file after it has been uploading.
File Uploading in PHP 4
This is a step-by-step tutorial that shows how to upload files to the server through an HTML form and PHP. It covers creating the client-side HTML, accessing the file from PHP, and processing the uploaded File in PHP.
PHP Form Image Upload
This tutorial shows you how to upload an image on your server using PHP and html forms. You will also learn how to verify if the uploaded file is an image (checking the extension), if it doesn't overtakes a size limit and how to change the uploaded file...
(show more)
More secure PHP image upload class tutorial
Tutorial how to write secure image upload class. Class has function witch determinate if given file is really image.
Uploading a file in PHP
This article shows how to upload files in PHP. Uploading files in PHP is very easy. You don't have to use any components as you do in ASP. All the file handling is done by built-in PHP functions.
PHP include file tutorial
In this tutorial I will show you how to divide your code into more files and how to include various files into your actual PHP code.
Create custom backups from your website using cURL
Create a backup script and execute the PHP script using a CRON job. This tutorial is for webmasters if the websites control panel has only capabilities to create full site backups and/or where the access via SSH is disabled.
Directory Listings, list files and subfolder using php
This is the simple example to list contents of any Directory. To do this we are going to define function DirDisply( ) which will read the current directory contents and display it as a list.
We first open current directory by...
(show more)
Basic PHP File Handling
We've mostly focused on MySQL-type tutorials, but we'll show you in this tutorial the basics of file handling. This includes opening a directory and listing the files, opening a file and showing it's contents and opening, then modifying a file. Deleting...
(show more)
