Location: PHPKode > projects > PHP Multiple Newsletters > config.php
<?php
/***************************************************************************
File Name 	: config.php
Domain		: http://www.triangle-solutions.com
----------------------------------------------------------------------------
Author		: Ian Warner
Copyright	: (C) 2001 Triangle Solutions Ltd
Email		: hide@address.com
URL		: http://www.triangle-solutions.com/
Description	: Holds user editable variables.
Date Created	: Tuesday 24 February 2004 11:31:40
File Version	: 2.7
\\||************************************************************************/


############ ADMIN AUTHENTICATION SYSTEM ############

	$admin_username = 'CHANGETHIS';				// SUPPLY A USERNAME FOR THE ADMIN SYSTEM
	$admin_password = 'CHANGETHIS';				// SUPPLY A PASSWORD FOR THE ADMIN SYSTEM


############ SITE DETAILS ############

	$sitename = 'SITE NAME';				// THIS WILL APPEAR IN THE AUTORESPONDER EMAIL
	$siteemail = 'SITE EMAIL';				// THIS WILL APPEAR IN THE EMAIL TO ADMIN
	$siteurl = 'http://www.yourdomain.com/';		// THIS IS USED IN THE CONFIRMATION EMAILS TO PROVIDE UNSUBSCIRBE LINKS
	$footeron = 'TRUE';					// USE FALSE TO TURN FOOTER OFF THOUGH I APPRECIATE SOME CREDIT!
	$trackingurl = $siteurl.'newsletter/index.php?';	// URL USED TO TRACK LINK IN NEWSLETTER


############ MYSQL CONFIGURATION ############

	$host = 'localhost';					// HOST OF THE MYSQL OFTEN localhost
	$user = 'root';						// YOUR USERNAME FOR MYSQL
	$pass = '';						// YOUR PASSWORD FOR MYSQL

	// DATABASE CONFIGURATION

	$data = 'newsletter';					// YOUR DATABASE NAME


############ SMTP SOCKET SETUP - EMAIL SETTINGS ############

	$socketfrom = 'FROM EMAIL';				// EMAIL ADDRESS TO APPEAR IN FROM / REPLY FIELD
	$socketfromname = 'FROM NAME';				// NAME TO APPEAR IN FROM FIELD / REPLY FIELD
	$sockethost = 'smtp.yourdomain.com';			// SMTP HOST TO SEND THE EMAILS VIA THE SMTP SOCKET

	// USE SMTP AUTHENTICATION

	$smtpauth = 'FALSE';					// SET THIS TO TRUE IF YOUR SMTP SERVER REQUIRES AUTHENTICATION
	$smtpauthuser = '';					// SMTP USERNAME - USUALLY THE SAME AS YOUR MAILBOX
	$smtpauthpass = '';					// SMTP PASSWORD - USUALLY THE SAME AS YOUR MAILBOX

	// MAKE USER VERIFY THERE EMAIL WITH A LINK BACK VERIFICATION

	$makeverify = 'TRUE';					// MAKE THE USER VERIFY THEIR EMAIL ADDRESS
	$verifypath = $siteurl.'newsletter/index.php';		// MAKE SURE THIS PATH IS CORRECT SO THE VERIFY WORKS

	// EMAILS TO USERS AND ADMIN FLAGS

	$usermailsign = 'TRUE';					// TRUE / FALSE - SEND EMAIL WHEN SOMEONE SIGNS UP
	$usermailunsu = 'TURE';					// TRUE / FALSE - SEND EMAIL WHEN SOMEONE UNSUBSCRIBES

	$adminmailsign = 'TRUE';				// TRUE / FALSE - SEND EMAIL TO ADMIN WHEN SOMEONE SIGNS UP
	$adminmailunsu = 'FALSE';				// TRUE / FALSE - SEND EMAIL TO ADMIN WHEN SOMEONE UNSUBSCRIBES


############ DETERMINE THE TABLE WIDTHS AND ALIGNMENTS ############

	$maintablewidth = '75%';				// DO IN '%' OR BY PIXELS IE '40%' OR '400'
	$maintablealign = 'Center';				// OPTIONS - Center, Right etc.


############ MAIN TITLE BAR ############

	$background = '#AABBDD';				// THIS WILL CHANGE THE COLOUT OF THE MAIN BAR
	$backover = '#AABBDD';					// THIS WILL CHANGE THE COLOUT OF THE MAIN BAR
	$backout = '#FFF000';					// THIS WILL CHANGE THE COLOUT OF THE MAIN BAR


############ DYNAMIC LANGUAGE SELECTION ############

	$langdefault = 'eng';					// THIS WILL BE THE DEFAULT IF NO LANG VARIABLE IS FOUND

#	eng = English						// THESE ARE THE LANGAUGE SETTINGS THEY RESPOND TO THE
#	dut = Dutch						// FILES IN THE LANGUAGE FOLDER
?>
Return current item: PHP Multiple Newsletters