Parse error: syntax error, unexpected '=' in /hsphere/local/home/bruceg/inspired-evolution.com/config.php on line 7
and the code is
Code: Select all
<?php
/////////////////////////////////////////////////////////
// CONFIGURATION OPTIONS
// Change the settings below in order to set this
// thing up for your particular site
/////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////
// DATABASE SETTINGS
$msg = "";
//Setup the username, password and database name.
$user="username";
$password="password";
$db ="data_base_name";
//Make a link to the database, then test the connection. If it cant link, due to bad username
//password, permissions, whatever, kill the process.
$link=mysql_connect("localhost", "username", "password");
if (!$link) die ("cant connect to mysql");
//select the database once connected.
mysql_select_db($db, $link) or die ("cannot connect");
////////////////////////////////////////////////////////
// VARIABLES USED THROUGHOUT THE MAILING LIST
// $list_owner_site_name -
$list_owner_site_name = "Inspired Evolution";
// $list_owner_domain_name -
$list_owner_www.domain.com = "www.inspired-evolution.com";
// $list_owner_full_url
$list_owner_full_url = "http://www.inspired-evolution.com";
// $list_owner_name - =
$list_owner_name = "Bruce Gilbert";
// $list_owner_email_address -
$list_owner_email_address = "webguync@gmail.com";
// $list_owner_wants_confirmation - do you want a confirmation message for each recipient when you send mail to your list?
$list_owner_wants_confirmation = "true";
// $validate_oppress - how hardcore do you want your e-mail validation? Enter an integer between 1-5, with 5 being most hardcore. I recommend '2'
$validate_oppress = 2;
// LOGIN STUFF
// What is your username? - don't leave this as 'username'
$config_username = "username";
// What is your password? -
$config_password = "password";
// After people login, where do you want them to go?
$success_destination = "admin.php";
// $current_url - DO NOT CHANGE THIS
$current_url = $_SERVER['PHP_SELF'];
?>thanks!