How to create a new file?

For small text files it can be easier to create them online, rather than on your home computer and uploading the file. You can create text files, such as HTML, PHP, or plain TXT, but not binary files.
 
To create a new file:
  1. Navigate to the folder where you want to create your text file.
  2. Click on the Create New File link.
  3. Enter the name of the file to be created in the available field in the top-right corner of your window. You do need to add the file extension to the name, for example script.pl for a Perl script, not just script.
  4. Select the type of document from the drop-down list. Each type of file adds specific information to the text file:
    • Text Document - No text is added to the file.
    • HTML Document - No text is added to the file.
    • Perl Script - Automatically adds the path to Perl to the top of the file. Make sure to double-check that the path is correct.
    • Shell Script - Automatically adds the path to the Shell executable to the top of the file. Make sure to double-check that the path is correct.
  5. Click on the Create button. The file has now been created and the display updated to show the new file.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

What do I need to do to put Flash on my website?

Flash is a client side feature - it runs on the user's computer, not on your web host. As long as...

How do I track how many hits my website gets?

Tracking on your site can be either done server-side or remotely. With server-side statistics,...

What are PHP, ASP, perl, etc?

These are all programming languages which are referred to by their acronyms.PHP - PHP: Hypertext...

How do I login to my domain's cPanel?

you can login to your cPanel by going to www.yourdomain.com/cpanel (yourdomain is...

Do I have to change my domain if I get a new host?

No. Provided that the domain is registered in your name (as it should be), you can simply update...

Powered by WHMCompleteSolution