PHP File Manipulation

Results 1 - 20 of 65

Sort by:

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.

(4.44 out of 5) from 7 Ratings

  • Price: Free
  • Views: 15,311

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)

(4.27 out of 5) from 13 Ratings

  • Price: Free
  • Views: 5,448

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.

(5.00 out of 5) from 1 Rating

  • Price: Free
  • Views: 1,776

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.

(4.33 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,081

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.

(3.83 out of 5) from 4 Ratings

  • Price: Free
  • Views: 4,683

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.

(4.00 out of 5) from 3 Ratings

  • Price: Free
  • Views: 993

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.

  • Price: Free
  • Views: 34

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.

(3.67 out of 5) from 3 Ratings

  • Price: Free
  • Views: 967

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.

  • Price: Free
  • Views: 1,424

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.

  • Price: Free
  • Views: 174

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.

(4.33 out of 5) from 3 Ratings

  • Price: Free
  • Views: 3,800

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.

  • Price: Free
  • Views: 1,891

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)

(4.33 out of 5) from 3 Ratings

  • Price: Free
  • Views: 1,673

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)

  • Price: Free
  • Views: 478

Printable Document Generation with PHP

This article focuses on the document that can be generated using PHP namely Rich Text Format (RTF). Rich Text Format (RTF) is a file type used to transfer formatted text documents between applications, even those that run on different platforms, such as...
(show more)

(4.67 out of 5) from 6 Ratings

  • Price: Free
  • Views: 1,104

Reading and writing Data from and into files

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.

  • Price: Free
  • Views: 596

Introduction to Files

In this tutorial you will learn how to open, read, write, rename, remove and upload files using one of the best server-side languages -- PHP. It will overview the fopen() function and the different modes needed to open files. It will then teach you how...
(show more)

  • Price: Free
  • Views: 1,043

FTP Upload via cURL

Uploading files to a remote FTP server is very effective while using the cURL library. This short PHP tutorial will show the user how to upload a file to a password protected FTP server.

  • Price: Free
  • Views: 1,054

Tutorial: Create a zip file from folders on the fly

Creating zip files on a web server is a feature which could be very useful for backups or just for offering an unknown number of dynamic files or folder inside of a directory. This tutorial shows us how handle that with only a few rows of PHP code!

  • Price: Free
  • Views: 945

PHP & File Compression/Archiving techniques

PHP has some very easy, simple yet powerful, extensions for file compression support. zip, gZip, bZip2, LZF libraries are popular extensions with php. Each one is actually a different compression format... all of them have their own algorithms to...
(show more)

  • Price: Free
  • Views: 743
<< previous
 ( 1 | 2 | 3 | 4next >>