Location: PHPKode > scripts > EzInvoice - Invoice Management System > ezinvoice-invoice-management-system/ezinvoice/help/scr/config.php.htm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>config.php</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">



<link REL="StyleSheet">
</head>

<body leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><script language="JavaScript" type="text/JavaScript">
function syn(){
if(parent.nav.tree){
 if(parent.nav.tree.loaded){
  parent.nav.tree.selectNode(6);
 }else{
  setTimeout("syn()",500);
}
  }else{
  setTimeout("syn()",500);
  }}
if(parent!=self){
  setTimeout("syn()",100);
}else{
  parent.location.href = "../index.htm#page=config.php.htm";
}
window.onload = function(){parent.contentLoaded = true;};
</script> 

<TABLE style="WIDTH: 100%; HEIGHT: 49px" cellSpacing=0 cellPadding=0 
width="100%" background=template/topbar.gif border=0>
  <TBODY>
  <TR>
    <TD width=5></TD>
    <TD><IMG hspace=2 alt="" align=absMiddle src="template/main.gif"> <FONT face=Verdana color=#ffffff 
      size=4><STRONG>EzInvoice Users Manual</STRONG></FONT></TD>
    <TD align=right width=60></TD>
    <TD width=12>&nbsp;</TD></TR></TBODY></TABLE>
<DIV 
style="PADDING-BOTTOM: 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 10px"><FONT 
face=Verdana color=#5778bc size=4>config.php</FONT> 
<P><FONT face=Verdana color=#202020 size=2>
<FONT face=Verdana size=2>
<P><FONT color=#000000 size=2 face=Verdana><STRONG>We will attempt to walk you 
through the setup and configuration of the config.php file for 
EzInvoice.</STRONG></FONT></P>
<P><FONT color=#ff0000><STRONG>* The 
config.php is located in the inc/ folder.</STRONG>        
</FONT></P>
<P><FONT color=#000000><FONT size=2 face=Verdana>This is the main setup for 
EzInvoice and most of the function of EzInvoice is set here. Once the ZIP file 
is opened you will need to open the config.php file in a text editor, we 
recommend that you do NOT use Note Pad or Word Pad for this. </FONT><FONT size=2 
face=Verdana>Additional Tools Needed And Our Recommendations:</FONT></FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>If you need a Powerful archiver and 
archive manager, then we recommend WinRAR.</FONT></P>
<P><FONT face=Verdana><FONT size=2><FONT color=#000000><U>WinRAR<BR></U>Using 
WinRAR puts you ahead of the crowd when it comes to compression by consistently 
making smaller archives than the competition, saving disk space and transmission 
costs. WinRAR provides complete support for RAR and ZIP archives and is able to 
unpack CAB, ARJ, LZH, TAR, GZ, ACE, UUE, BZ2, JAR, ISO, 7Z, Z 
archives.</FONT></FONT></FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>For more information, download or 
purchase. </FONT><FONT color=#000000 size=2 face=Verdana><A 
href="http://www.mysticdreams.net/ezclick/ezclick.php?id=5" target=_blank>To 
Purchase WinRAR</A></FONT></P>
<P><FONT color=#000000 size=2 face=Verdana></FONT></P><FONT color=#000000 size=2 
face=Verdana>
<HR 
style="TEXT-ALIGN: center; WIDTH: 100%; HEIGHT: 1px; BORDER-TOP: #5778bc 1px solid">
</FONT>
<P></P>
<P><FONT color=#000000 size=2 face=Verdana><STRONG>We will now start the 
config.php setup and explanation!</STRONG></FONT></P>
<P><STRONG>DEFINE YOUR BUSINESS INFORMATION</STRONG></P>
<P><FONT color=#000000 size=2 face=Verdana>Enter Your 
Business Name</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$yourtitle = "Your Business Name Goes 
Here";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>Enter Your Sales Department 
Email</FONT></P>
<P><FONT size=2 face=Verdana><FONT color=#800000>$youremail = </FONT><FONT 
color=#800000><A 
href="mailto:hide@address.com">hide@address.com</A></FONT><FONT 
color=#800000>;</FONT></FONT></P>
<P>Enter Your Support Department Email used by the client 
support form.</P>
<P><FONT color=#800000>$client_support</FONT> = <A 
href="mailto:hide@address.com">hide@address.com</A>;</P>
<P><FONT color=#000000 size=2 face=Verdana>Enter Your Business Address And Phone 
Number.<BR><FONT color=#808080><EM>If You Do Not Need One Or More Address Lines, 
Comment Out The One(s) Not Needed.<BR>Uncomment The Ones You 
Need.</EM></FONT></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$address1 =    "1234 
E.&nbsp;Some&nbsp;Rd.";<BR>$address2 = "Suite Number: 123";<BR>$address3 = "Some City,&nbsp;Some 
State&nbsp;12345";<BR>$address4 = "555-123-4567";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>Your Main Website Address ( 
http://www.your_domain.com )</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$business_url = 
"http://www.your_domain.com";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>Your EzInvoice Website Address ( 
http://www.your_domain.com/ezinvoice/ )</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$site = 
http://www.your_domain.com/ezinvoice/;<BR></FONT><FONT color=#000000 size=2 
face=Verdana><BR><STRONG>DEFINE YOUR PAYPAL INFORMATION<BR></STRONG><BR>Your 
PayPal Email address ( hide@address.com )</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$paypal_email = "<A 
href="mailto:hide@address.com">hide@address.com</A> 
";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>SET YOUR DESIRED CURRENCY SYMBOL FOR PAYPAL<BR></FONT><FONT color=#808080 size=2 face=Verdana><EM>Australian Dollars = 
&amp;#36<BR>Canadian Dollars = &amp;#36<BR>Euros =   &amp;euro<BR>Pounds Sterling 
= &amp;pound<BR>Yen = &amp;yen<BR>U.S. Dollars =     &amp;#36</EM></FONT></P>
<P><FONT color=#000000 size=2 face=Verdana><FONT color=#800000>$currency_symbol</FONT> = 
"&amp;#36";</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana > </FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>PayPal Currency Code To 
Use.<BR><EM><FONT color=#808080>This Function Can Display Any Symbol PayPal 
Uses.</FONT></EM></FONT></P>
<P>SET YOUR DESIRED CURRENCY CODE FOR PAYPAL<BR><FONT 
color=#808080><EM>Australian Dollars = AUD<BR>Canadian Dollars = CAD<BR>Euros = 
EUR<BR>Pounds Sterling = GBP<BR>Yen = JPY<BR>U.S. Dollars = USD</EM></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$currency_code = "USD";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>This Is What Shows On The PayPal Pay 
Screen As Your Description.</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$paypal_item_name = "Amount Due On 
Invoice";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>Message Displayed At Bottom Of 
Invoices.</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana><FONT color=#800000>$payee = "As a 
friendly reminder  to our 
valued clients";</FONT><BR><FONT color=#800000>$due = "All payments  are expected by the 
Due Date unless prior arrangements have been made with our 
office.";</FONT></FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>Send Client Thank You Email.<BR><FONT 
color=#808080><EM>This Function Sends An Email To Clients Thanking Them When You 
Mark An Invoice Paid.<BR>NOTE: change "yes" to "no" if you don't want this 
feature active.</EM></FONT></FONT></P>
<P><FONT color=#000000 size=2 face=Verdana><FONT color=#800000>$emailoption</FONT> = "yes";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>PayPal Verified Seal Setting.<BR><FONT 
color=#808080><EM>This function is used to 
place an active PayPal Verified Seal on the invoice page.<BR>If you are 
verified, login to your PayPal account and click on the Verified link<BR>at the top 
of the page right next to Status: Verified or Non-Verified</EM></FONT>  
          <BR><BR> Turn 
Verified PayPal seal On/Off<BR> 0 = OFF 1 = ON</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana><FONT color=#800000>$paypal_verified</FONT> =  "1";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana><FONT color=#808080><EM> Enter the link provided in your PayPal account under 
Verified!<BR> If you do not, the link will not work and clients cannot 
verify!!<BR>The link will 
look like: </EM></FONT>      <A 
href="https://www.paypal.com/us/verified/pal=your_email%40your_domain%2ecom"><FONT 
color=#808080><EM>https://www.paypal.com/us/verified/pal=your_email%40your_domain%2ecom</EM></FONT></A><BR><BR><FONT color=#800000>* The end user 
will need to click on image, then login to their PayPal account to 
verifiy.</FONT> 
                
 </FONT></P>
<P><FONT color=#000000 size=2 face=Verdana>$paypal_seal =     " <A 
href="https://www.paypal.com/us/verified/pal=your_email%40your_domain%2ecom">https://www.paypal.com/us/verified/pal=your_email%40your_domain%2ecom</A> ";<BR></FONT><FONT 
color=#000000 size=2 face=Verdana><BR><STRONG>DEFINE YOUR REFERENCE DROP DOWN 
MENU FOR CLIENT LIST.</STRONG><BR></FONT><FONT color=#000000 size=2 
face=Verdana><BR>You Can Have Up To 10 Separate Choices Here.<BR><FONT 
color=#808080><EM>Un-Comment As Needed To Fit Your Needs</EM></FONT></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$client_referance1 = 
"Hosting";<BR>$client_referance2 = "Design";<BR>$client_referance3 = 
"Programming";<BR>$client_referance4 = "Support";<BR>//$client_referance5 = 
"Option 5";<BR>//$client_referance6 = "Option 6";<BR>//$client_referance7 = 
"Option 7";<BR>//$client_referance8 = "Option 8";<BR>//$client_referance9 = 
"Option 9";<BR>//$client_referance10 = "Option 10";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana><STRONG>DEFINE YOUR MYSQL DATABASE 
INFORMATION.<BR></STRONG><BR>Explanation of MySQL Settings:<BR><BR><EM><FONT 
color=#808080>$hostname = Your MySQL host name, usually localhost<BR>$database = 
Your MySQL Database Name<BR>$user&nbsp;&nbsp;&nbsp;&nbsp; = Your MySQL User 
Name<BR>$pass&nbsp;&nbsp;&nbsp;&nbsp; = Your MySQL 
Password</FONT></EM></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$hostname = "localhost";<BR>$database = 
 "ezinvoice";<BR>$user = "YOUR MYSQL  USERNAME";<BR>$pass = "YOUR MYSQL  
PASSWORD";</FONT></P>
<P><STRONG>This is used to write the temporary GZIP file 
for your MySQL database.</STRONG><BR><EM><FONT color=#808080>This directory must 
be non web accessible and should have WORLD write permissions!<BR>( chmod 0777 
or chmod 0755)</FONT></EM></P>
<P><FONT color=#800000>$backup_directory</FONT> = 
"/home/YOUR_ACCOUNT/ezinvoice-backups/";</P>
<P><FONT color=#000000 size=2 face=Verdana><STRONG>These are used by the MySQL 
Backup to send the backup to you.</STRONG></FONT></P>
<P><FONT color=#808080 size=2 face=Verdana><EM>Your email address.</EM></FONT></P>
<P><FONT color=#808080 size=2 face=Verdana><EM>This is the FROM email address 
used by EzInvoice</EM></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$website_email 
="hide@address.com";</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana><EM>This is the SEND TO email address used by 
EzInvoice.</EM></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>$sendto_email = 
hide@address.com;<BR > 
</FONT><BR><STRONG>License number and information 
for EzInvoice. Used by the contact form.<BR>Change the license number and 
information below to your full version key.</STRONG></P>
<P><FONT color=#808080><FONT color=#000000>Your main website address ( 
http://www.your_domain.com )<BR></FONT><EM>Used for the Contact Support 
form.</EM></FONT><BR><BR><FONT color=#808080><FONT color=#000000>Your EzInvoice 
Registered Full Name</FONT><BR></FONT><FONT color=#800000>$support_name = "YOUR 
FULL NAME";</FONT></P>
<P><FONT color=#000000>Your EzInvoice Registered Email<BR></FONT><FONT 
color=#800000>$support_email = hide@address.com;</FONT></P>
<P><FONT color=#000000>Your EzInvoice Registered URL<BR></FONT><FONT 
color=#800000>$support_url = http://www.your_domain.com;</FONT></P>
<P><FONT color=#808080><EM>Your License Key if this is the demo version, it can 
remain as is.<BR>If this is a registered version, please change this to the 
registered key.</EM></FONT></P>
<P><FONT color=#800000>$key =       "ezinvoicedemo";</FONT></P>
<P><FONT color=#000000 size=2 face=Verdana></FONT></P><FONT color=#000000 size=2 
face=Verdana></FONT>
<P></P>
<P><FONT color=#000000 size=2 face=Verdana></FONT></P>
<P><FONT color=#000000 size=2 face=Verdana><STRONG>Congratulations... You have 
completed the setup of config.php!<BR>Please remember to save this file and 
upload it to your server.</STRONG></FONT></P></FONT>
</FONT><BR>
<HR 
style="TEXT-ALIGN: center; WIDTH: 100%; HEIGHT: 1px; BORDER-TOP: #5778bc 1px solid">
<FONT face=Verdana color=#808080 size=1>&nbsp;Copyright © 1997-2010 Mystic 
Dreams Enterprises</FONT> </DIV>
</body>
</html>
Return current item: EzInvoice - Invoice Management System