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 name.
Seems more and more people are wanting to edit files on-line. Also a common problem in on-line editors is the textarea because editors on-line use the same code, so it breaks the editor. This will address this problem be tricking the the online editor into thinking it did not in fact load a file.
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.
Following on from Simple Text Storage With PHP, when using flat-file storage you also need to pull the data from the text files. This tutorial will explain how to extract a piece of information from a text file and display it.
In your PHP scripts at some stage you may wish or need to completely change the directory in which to look in - for examples the directory to look for files to include. This tutorial shows you how to change dir for file inclusion.