ServertoSite.com    Find our open source software below : ): )

Menu Below is for Instructions that Relate to Our Open Source Low Maintenance Web Friendly Website Package

Contact Form. Putting Your Contact Email Address Into The Contact Form Script

So where is the contact form script? It is the PHP file named ec.php which can be found directly inside the public-html folder that comes with this website project.

Now open up your ec.php file in a text editor (Text editors: Kompozer from Kompozer.net for Windows, Linux or Mac can do text editing as can notepad++ for Windows available at http://notepad-plus.sourceforge.net and Jedit from jedit.org which works on Windows, Linux and Mac... Notepad++ and Jedit are full on programmers text editors). Now with the ec.php file from the public_html folder open in a coding text editor, find where I have written in the php code the following: #Note: Please change the email address below (Between the ' ') to the email address you will be using to receive messages from your website... Below that writing you will see $you='Your-Email-Address-Here@Most-Likely-Your-Domain-Name.com'; change only between the ' ' where it is says Your-Email-Address-Here@Most-Likely-Your-Domain-Name.com to your own receiving email address you have chosen for your website to receive your websites email messages (Most likely an email address at your own domain name) and save the ec.php file when you are done with doing this. Make sure that after you have uploaded this file to your webhosting or server, that it shows file permissions of 644 like every other file in your website should already have set (Remember all files must be set to file permissions of 644, for vital hacker security reasons). Well, That will be your contact form ready to use if you have done that.

Multiple Contact Forms on Your Website:

If you would like to have multiple contact forms on your website, you can quite simply make a copy of contact-us.php and rename it and you are ready to go, you can repeat the process as much as you want if suits you, for instance someone selling multiple varieties of say rain water tanks, may want a separate page for each water tank they are selling and an individual contact section to go with it. (Note about copying files on your computer: you may want to temporarily rename your copied file by right clicking your mouse and copying and then pasting the copy in another folder and then cut and paste it back in public_html when you are done, if you are not already familiar with the copying process on your personal computer that is).

What if You Want Contact Forms With Radio Buttons, Drop Down Lists and Check Boxes?

You will be happy to know that I have made another project available on servertosite.com that is just contact forms, (to go directly to the project page click here, the page will open in a new browser tab or window), with all sorts of different options, you can just choose and download the contact form with which option you want and then open up the the form script file (the form script files are also each named ec.php in each different form configuration you download) and copy and paste from before the opening PHP bracket which looks like this <?php all the way to after the closing PHP bracket which looks like this ?> in other words select everything in the ec.php file that comes in the form download and copy it. You may have guessed what happens next. You paste the contents of ec.php from the form download into a page you are going to use as the script page for that particular form on your website, I would highly recommend using the TEMPLATE-CUSTOM-CONTACT-FORM-SCRIPTS.php as a template as it has further instructions inside it and I have removed the right column div on the it because it looks better like that on a page that only shows success or error messages. Also note the inputs.html file that comes with each form package, this is your form interface which will also require copying and pasting. Open the inputs.html file in any text editor and copy in the code view  (ie: HTML) from <form action="ec.html" and everything in between here to form end which is </form>, then simply copy and paste that html form slab into any page you want on your website, multiple times if you would like. Remember this is merely the interface where a visitor to a website can enter details not the actual form processing script, so that is why you can put it anywhere you want really, as mentioned the form processing script, the actual script goes on a seperate page. That is why you need to read on for the next bit of information... You may have noticed in the form action a reference to ec.html, like so: action="ec.html". If you have changed the names of your form script pages then please most definitely change the action path to match, for example change action="ec.html" to action="newformname.html" and remember to put .html on the end of the form action path not .php even though the actual form processing script file is most definitely a .php file or it will not work and not find the form processing script, due to Apache .htaccess rewriting the .php files in your active website to end with .html. Also remember to change the email address to your receiving email address in your form script (ec.php is the name I gave all the form receiving scripts available for this website) or the 'multiple' form scripts you are going to use on your website.

Setup/Install of the Password Protected Administrative Console. Also See Admin Panel Type Two a Little Lower Down

In the public_html folder of the Low Maintenance Web Friendly Website Package, you will see a folder named 'atr', inside the 'atr' folder are the files for your administration console, though separately, the most vital file, that being zv.php, can be found directly in the Low-Maintenance-Web-Friendly-Website folder, which holds all the contents of the entire web package. Open the zv.php file in a PHP compatible text editor and find closer to the top in the code view of the zv.php script where it says '#Change your username and password below. Just below this you will see $password= 'PASSWORD-GOES-HERE-ONLY'; Change only between the two '  ' where it is written password goes here, to the password of your choice, please make a combination of numbers, letters (both upper and lowercase) and one or more allowed special characters such as ~ _ - ! @ *. After you have done that and not touched anything else in the zv.php script, save the zv.php file. Upload the zv.php file up into your web space into 'atr' folder that you previously uploaded when you uploaded the contents of the public_html.zip file of the Low Maintenance Web Friendly Website into your web space, make sure as with all files, that the file permissions are set at 644. To access your admin console, you simply go to the footer of your website and click on the link that says the word 'admin' in small writing.

On your administration panel you will find input boxes where you can write XHTML to be included in up to six different places or pages on your website.

The Admin Panel Type Two Allows Images and Links Through and is Also an Option in This Package. Read On:

The standard admin panel with this web package, deliberately does not allow hyperlinks, image tags or CSS iD or Class tags, if you want an admin panel that will allow all of that through, then use the version of the zv.php file and frm.php file that comes in the folder named Admin-Panel-With-Images-Links-Files that also comes in this web package.

As always, use a really strong password, with a jumble of letters and our specified allowed password characters and do not lose your password to anyone or share it, you can even change it on occasion, more particularly if you think your password could have slipped out somewhere). Now back on track, below each input in your console is a handy PHP include snippet you can copy and directly paste into pages in your website, the corresponding text you wrote in the input, will show where ever you paste the include into the HTML of your website pages. Please do not repeat each numbered include more than once on your website, or you will get duplicate content unless you really need to duplicate something... If you want to move a php include snippet to a different part of your site, please erase where you had it included before or you will get duplicate content on two parts of your site.

After you have filled out as many inputs as you want with XHTML, Please make sure that you have your password entered first. Once you are sure your password is entered then click submit. Each time you submit changes, your password needs to be re-entered. Any form inputs on the console that are not being used need to have a star * or any other acceptable character left in each unused text area on the admin panel or you will get thrown an error message from the script when you click submit.

To back up any thing you write in the admin console, copy and paste the XHTML you write into the inputs into a text file on your computer. Hang on there, even easier though, you could even go to the menu in your web browser (Under 'file' in Firefox and Opera, under 'page' in Internet Explorer, under the 'page icon' in Google Chrome and Apple's Safari) and use the save page as option or what ever it is named in your web browser and download the admin console and you should have all of your entered information backed up in one swift maneuver, just double check that it worked after you do it, redo this each time you update something if you were needing to keep a strict back up of the entered information.

Personally Recommended Services and Products Below

KnownHost Quality Managed VPS/Hybrid and Dedicated Servers Click Here

KnowHost is a truly respected VPS/Hybrid & Dedicated server provider. Advantages of VPS over shared hosting: Dedicated RAM, Useable Bandwidth, Unlimited Websites, Shell, More Control.