Categories
PHPTips and Tutorials → File Manipulation

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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 $TrackDir=opendir(...
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX
  • Licenses
    • Freeware
DETAILS

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 modif...
  • Platforms
    • Windows,
    • Mac OSX
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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 h...
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX,
    • Sun Solaris
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux,
    • Windows
  • Licenses
    • Freeware
DETAILS

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!
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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 com...
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX,
    • Sun Solaris
  • Licenses
    • Freeware
DETAILS

Opening files with PHP

A brief guide to opening and managing files using PHP''s fopen() function.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

Page:
©2019 A--9.com