This thread is in response to a user's issues installing simpleContact on Startlogic web hosting.
Please note: These are general points, which apply to *any* PHP application that uses a MySQL database and sessions (e.g. for user login). They are not particular to simpleContact.
------------------------------------------
MySQL database connection
In the majority of cases, your MySQL database server is accessible through the default setting of "localhost". However some hosts choose to store their databases elsewhere.
On Startlogic your database host is: "youraccountname.startlogicmysql.com"
You should set the $server (Lite) or $db_host (Pro) setting in your config file to reflect this.
Reference: Connecting to a MySQL database using PHP (Startlogic knowledgebase)
------------------------------------------
Session storage
In order to create a session, PHP must be able to create a session ID and save a session file (which stores information about application state) to a location on your server. This corresponds to a cookie (which also holds the session ID) that is stored by your browser.
Startlogic require that you add the following line of code to the top of your config file:
session_save_path("yourhomedirectorypath/cgi-bin/tmp");
Log into your control panel and see the PHP scripting page for the full path to your home directory.