Location: PHPKode > scripts > EzClick - Link Mangement System > ezclick-link-mangement-system/ezclick/help/scr/Understanding the config.php.htm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Understanding the config.php</title>
<meta name="GENERATOR" content="Mystic Dreams Enterprises">
<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=Understanding%20the%20config.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>EzClick 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><STRONG>Understanding the config.php</STRONG></FONT> 
<P><FONT face=Verdana color=#202020 size=2>
<P><FONT face=Verdana size=2>We will attempt to walk you through the setup and 
configuration of the config.php file for EzClick.</FONT></P>
<P><FONT face=Verdana size=2>This is the main setup for EzClick and most of the 
function of EzClick 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></P>
<P><A href="http://www.mysticdreams.net/ezclick/ezclick.php?id=2" 
target=_blank><FONT face=Verdana color=#333333 size=2></FONT></A></P>
<P><FONT face=Verdana color=#333333 size=2></FONT></P>
<P><FONT face=Verdana color=#333333 size=2><STRONG><FONT 
color=#000000>Additional Tools Needed And Our 
Recommendations:</FONT></STRONG></P>
<P><FONT face=Verdana size=2>If you need a Powerful archiver and archive 
manager, then we recommend WinRAR.</FONT></P>
<P><FONT face=Verdana size=2><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></P>
<P><FONT face=Verdana size=2>For more information, download or purchase. <A 
href="http://www.mysticdreams.net/ezclick/ezclick.php?id=5" target=_blank>To 
Purchase WinRAR</A></FONT></P>
<P>
<P><FONT face=Verdana size=2>      <A 
href="http://www.mysticdreams.net/ezclick/ezclick.php?id=2" target=_blank> 
 </A></FONT></FONT><FONT face=Verdana color=#333333 size=2></P>
<P>
<HR 
style="TEXT-ALIGN: center; WIDTH: 100%; HEIGHT: 1px; BORDER-TOP: #5778bc 1px solid">

<P></P>

<P></P></FONT>
<P></P>
<P><FONT face=Verdana size=2><STRONG>We will now start the config.php setup and 
explanation!</STRONG></FONT></P>
<P><FONT size=2 face=Verdana><STRONG>DEFINE THE ITEMS BELOW 
FOR EZCLICK.</STRONG></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>// Set your 
Username and Password for the Administration Area of EzClick.</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$ezclickUserId = 
"admin";<BR>$ezclickPassword = "pass";</FONT></P>
<P><FONT size=2 face=Verdana><STRONG>DEFINE THE CHOSEN 
COLOR THEME FOR EZCLICK.</STRONG><BR><BR><FONT color=#808080><EM>Stylesheet 
color - Changes the colors of EzClick<BR>default = A tan color with a 3D effect. 
DEFAULT STYLESHEET<BR>blue = A blue color with a 3D effect.<BR>green = A green 
color with a 3D effect.<BR>orange = A orange color with a 3D 
effect.</EM></FONT></FONT></P>
<P><FONT size=2 face=Verdana><FONT color=#800000>Choose 
either "default" or "blue" or "green" or "orange"</FONT></FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$mystyle = 
"default";</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>URL of the 
ezclick.php file</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$click_url = 
"http://www.your_domain.com/ezclick/ezclick.php";</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>Should I count 
UNIQUE clicks ONLY?<BR>1 = YES, 0 = NO</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$count_unique = 
"1";</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>Number of hours 
a visitor is considered as unique?</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$unique_hours = 
"6";</FONT></P>
<P><FONT size=2 face=Verdana><STRONG>SECURITY FEATURE FOR 
LOG AND ID FILE</STRONG></FONT></P>
<P><FONT color=#808080 size=2 face=Verdana><EM>Since this 
is a distributed program, anyone with it or who may have used EzClick<BR>would 
know that your log file and id file are kept in the logs folder. This 
is<BR>OK... BUT, they would also know what the names of these files are! This is 
NOT GOOD!<BR><BR>The features below help in this area. By setting the following 
to odd or unique names<BR>we can now almost be certain NO ONE will know the 
names of our files!<BR><BR>This feature is easy to setup. Simply decide on the 
name or unique set of letters or <BR>numbers to use as the name for our log and 
id file.<BR><BR>Once decided upon, enter those names ( without the .txt 
extension ) in the proper place<BR>below and re-name the two (2) files in the 
logs folder to match! EzClick will handle<BR>the rest of the process for 
you.<BR><BR>As an added function, a .htaccess and .htpasswd set has been added 
to the logs folder.<BR>For those that have host accounts that support this 
function, it will password secure<BR>the logs folder from direct viewing from a 
browser.<BR><BR>The default username and password for this feature is as 
follows;<BR><BR>Username: admin<BR>Password: bO7gJMNXmXhq97gB66vb<BR><BR>This is 
NOT meant to be viewed by you or anyone else through a browser!!!<BR>This is to 
prevent others from browsing these files from their browser!!!<BR><BR>You have 
two (2) files used by EzClick for logs both stored in the logs folder.<BR><BR>1. 
ezclick.txt - The log where the data is stored.<BR>2. ezclick_ids.txt - The file 
where the ID count is stored.<BR><BR>BOTH files use the above $secret name as 
the name of each file.<BR>The $secret name ONLY replaces the first part of each 
file name!<BR><BR>EXAMPLE: If you use both default names.<BR>ezclick.txt becomes 
rtgDref87T.txt and needs to be re-named accordingly.<BR>ezclick_ids.txt becomes 
rtgDref87T_ids.txt and needs to be re-named accordingly.</EM></FONT></P>
<P><FONT size=2 face=Verdana><STRONG>LOG FILE NAME SETTING 
BELOW<BR></STRONG><BR><FONT color=#808080><EM>Security Function for log 
names!<BR>You can name this anything you like for security reasons.<BR>Changing 
this to something like: rtgDref87T, would make the log files named: 
rtgDref87T.txt<BR>and rtgDref87T_ids.txt You would then need to re-name the 
exclick.txt file to rtgDref87T.txt <BR>and ezclick_ids.txt to rtgDref87T_ids.txt 
in the logs folder.<BR><BR>ie: This would be entered below as - "rtgDref87T" 
without the .txt or _ids.txt!<BR><BR>Enter your odd or unique name for your log 
files.<BR><BR>EXAMPLE: $secret = "rtgDref87T";<BR><BR>IMPORTANT!!!!<BR>The file 
ezclick_ids.txt MUST END IN _ids.txt!!!!!!<BR>so it looks like this: 
"rtgDref87T_ids.txt"<BR>When you re-name the ezclick_ids.txt file, only replace 
before the "_ids.txt"!<BR>or simply the "ezclick" of ezclick_ids.txt followed by 
_ids.txt<BR><BR>Logs/ folder set to chmod 0755 and both log files must be set to 
chmod 0666!<BR></EM></FONT><BR><STRONG><FONT style="BACKGROUND-COLOR: #000000" 
color=#ff0000>FAILURE TO FOLLOW THIS DIRECTIVE WILL CAUSE EZCLICK TO 
FAIL!</FONT></STRONG></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>Sets the name 
for the log files (2)</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$secret = 
"rtgDref87T";</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana><EM>License 
number and information for EzClick. Used by the Contact Support form.<BR>Change 
the license number and information below to your full version 
key.</EM></FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>Your main 
website address ( http://www.your_domain.com )</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$support_url = 
"http://www.your_domain.com";</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>Your Full Name 
used by the Contact Support form.</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$support_name = 
"Your Name";</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana>Your Email used 
by the Contact Support form.</FONT></P>
<P><FONT color=#808080 size=2 face=Verdana>$support_email = 
"hide@address.com";</FONT></P>
<P><FONT color=#800000 size=2 face=Verdana><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 size=2 face=Verdana color=#808080>$key = 
"ezclickdemo";</FONT></P> 
</FONT>
<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: EzClick - Link Mangement System