- 1,251 categories
- 40,829 scripts
- 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.
- 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(...
- 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...
- 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.
- 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...
- 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.
- 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!
- 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...
- 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.
- A brief guide to opening and managing files using PHP''s fopen() function.
Page: