When I first started learning PHP I didn’t want to overload myself with learning about SQL as well, so I used text files for storage instead (also known as flat-file databases).
I am going to show you how to write information to a text file using PHP. You don’t have to have any PHP knowledge at all in order to follow this tutorial.
It is common to have downloads on your website, and sometimes you want to moderate your downloads by speed, or possibly hide the directory that the download is coming from, protecting all your other files. This is very possible and very simple to solve in PHP. All you need is the header() function and some files function.
PHP4 comes with a bunch of new functions designed to allow FTP connections over the Web. This article explores the new FTP functions, together with an example of how they can be used to build a browser-based FTP client.
You've already seen how PHP4's FTP functions can help you interact with files on a remote server. In this article, learn how to use PHP's other file and directory manipulation functions, and build an equivalent application that demonstrates the difference between the two approaches.
This script will help you for the baics of uploading images or files to your server using a HTML form and the PHP function copy. We haven't explained form validation or file checking - We'll go into further detail on that in future tutorials. To kick things off, you'll need a HTML form.
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.