Skip to main content

PHP File Handling: Basic File System

Being a serious PHP programmer it is necessary to learn about how to manipulate files, because it gives you a great deal of tools for creating, uploading, and editing files. In this tutorial, we’re going to focus on working with the file system and directories in PHP. To start in in this lesson, let’s create first a folder inside the local server name and name it as “file”. Then inside this folder we’re going to create a simple html file and add the following code, then save it as “basichtml.hml”.
  2. <hmtl>&#13;
  3. <title>Basic HTML </title>&#13;
  4. &#13;
  5. <h3>some content here.</h3>&#13;
  6. &#13;
  7. </hmtl>

Add new comment