Jan 13th, 2012, 11:16 AM
(This post was last modified: Jan 13th, 2012, 11:19 AM by michatmaster7.)
It doesn't go in process.php, it goes in config.php.
Here is an example of mine just so you can see where it would fit in the file (I've removed my personal information from this example, of course):
Quote:/form-tools-path/global/config.php file (change the form-tools-path to whatever folder your formtools installation is located in)
Here is an example of mine just so you can see where it would fit in the file (I've removed my personal information from this example, of course):
PHP Code:
<?php
// main program paths - no trailing slashes!
$g_root_url = "https://www.domainname.com/formtools";
$g_root_dir = "/home/domain/public_html/formtools";
// database settings
$g_db_hostname = "localhost";
$g_db_name = "db_name";
$g_db_username = "db_user";
$g_db_password = "password";
$g_table_prefix = "ft_";
$g_db_ssl = true;
$g_max_nav_pages = 100;
$g_session_type = "php";
//Error Messages
$g_default_error_reporting = 2047;
?>