- In your web space create a MySQL database or ask you ISP to create one for you. If your ISP creates the MySQL database ask them to provide you with the database host, username, password and name of the database.
- Log in to www.trenethick.co.uk and download WebAppVn.zip from the download page.
- Unzip the file and open include/logData.php.
- Enter the host, user name, password and name of your MySQL database in the code of the logData.php file marked in red below.
$conn = mysql_connect("HOST", "USERNAME", "PASSWORD") or die(mysql_error());
mysql_select_db("DATABASE NAME") or die(mysql_error());
- Save and close logData.php.
- Use an ftp application, or whichever method your ISP provides, to upload all the files to the root folder of your web space.
- In any browser open http://www.yourwebspace.co.uk/install/install.htm.
- Complete the form following the instructions below:
- URL - the web address of your web site, for example; www.trenethick.co.uk.
- Website Name - the name you want to appear on the administration pages.
- Contact Name - the name that appears in the emails sent from the site.
- Email - the email address the contact form is sent to.
- Display logon in the header- choose Yes or No to show the login link in the header of each page. This can be changed at any time later.
- Author - The name of the author of the site.
- Username - username for logging in to the administration page.
- Password - password for logging in to the administration page.
- Click Submit.
- The web application builds the necessary tables in the MySQL database and populates the Home page with basic text to start the web site. The web application also builds a number of dynamic pages, such as Contact, News, Diary and Press Releases. You can link to these pages as you choose. You are then taken automatically to the administration logon page. If you are not, for example you put the wrong web address in the form, go to http://yourwebsite.co.uk/admin/adminLogon.php.
- Logon to the Administration page using the username and password you entered in step 8.7 and 8.8 above. Comprehensive Help is available in using TWeB.