<html>

<head>
<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>
<meta name="generator" content="Microsoft FrontPage 5.0" />
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="citydesk" content="3DA31191/120" />
<title>bonneyarmstrong.com - DCF</title>
<link rel="stylesheet" type="text/css" 
href="http://bonney.himblau.com/bonney.css">
</head>

<body topmargin="0" leftmargin="0" bgcolor="#FFFFFF">

<center>
<script language="JavaScript">
var today = new Date();
var number = today.getDay() + 1;
document.write('<table border="0" cellpadding="0" cellspacing="2" width="991" bgcolor="#554987">');
document.write('<tr>');
document.write('<td width="991" colspan="2" height="200" background="http://bonney.himblau.com/newimages/' + number + '.jpg" align="right" valign="bottom">');
document.write('<h1><a target="_top" href="http://bonneyarmstrong.com/">bonneyarmstrong.com</a></h1>');
document.write('</td>');
document.write('</tr>');
</script>
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="0" width="991">
  <tr>
    <!-- td width="100%" colspan="2" valign="top" align="right" bgcolor="#987BDE" -->
    <td width="100%" colspan="2" valign="top" align="center" bgcolor="#D9B6FC">
    <div align="right">
      <form action="http://search.freefind.com/find.html" method="get" 
      target="_self">
        <input type="hidden" size="-1" value="34968964" name="id" />
        <input type="hidden" size="-1" value="r" name="pid" />
        <input type="hidden" size="-1" value="ALL" name="mode" />
        <input type="hidden" value="0" name="n" />
        <p><input name="query" size="20" /> <input type="submit" 
        value="Search" /> <input type="submit" value="Site Map" name="sitemap" />
        </p>
      </form>
    </div>
    <!-- td width="100%" colspan="2" valign="top" bgcolor="#554987" -->
    <p align="center" class="menu">| <a href="../academics.html">academics</a> |
    <a href="../games.html">games</a> | <a href="../on_the_job.html">on the job</a> 
    | <a href="../personalstuff.html">personal</a> | <a href="../portfolio.html">
    portfolio</a> | <a href="../resume.html">resume</a> |</p>
    <hr></td>
  </tr>
  <tr>
    <td width="250" valign="top" bgcolor="#D9B6FC"><b>
    <ul>
      <li><a href="accentpainter.html">accentpainter.com</a></li>
      <li><a href="amdgeode.html">amd geode</a></li>
      <li><a href="bonneyarmstrong.html">bonneyarmstrong.com - old</a></li>
      <li><a href="bonneyworld.html">bonneyworld</a></li>
      <li><a href="boostlisteningcenter.html">boost listening center</a></li>
      <li><a href="doubleangel.html">doubleangel.org</a></li>
      <li><a href="healthetechbalancelog.html">healthetech balancelog</a></li>
      <li><a href="healthetechcorporate.html">healthetech corporate</a></li>
      <li><a href="healthetechflashbanners.html">healthetech flash banners</a></li>
      <li><a href="healthetechintranet.html">healthetech intranet</a></li>
      <li><a href="jentlemen.html">jentlemen.com</a></li>
      <li><a href="jeppesen.html">jeppesen</a></li>
      <li><a href="lockheedorion.html">lockheed orion</a></li>
      <li><a href="lockheedtricare.html">lockheed tricare</a></li>
      <li><a href="agriculture.html">mobile inspection app</a></li>
      <li><a href="orbitz.html">orbitz</a></li>
      <li><a href="queengeorge.html">queen george</a></li>
      <li><a href="sharepoint_portal.html">sharepoint portal</a></li>
      <li><a href="telco.html">telco</a></li>
      <li><a href="usbankaccessonline.html">us bank access online</a></li>
      <li><a href="usbankdevelopmenttickettr.html">us bank development ticket 
      tracking system</a></li>
      <li><a href="uswest.html">us west</a></li>
      <li><a href="webhostingcompany.html">webhosting company</a></li>
    </ul>
    </b>
    <p align="center">
    <script language="JavaScript1.2" src="http://www.altavista.com/r?entr" 
    type="text/javascript">
        </script>
    </p>
    <p><img border="0" src="http://bonney.himblau.com/images/clear.gif" 
    width="250" height="5"></td>
    <td width="741" valign="top" bgcolor="#D9B6FC">
    <h3>data collection framework</h3>
    <p></p>
    <table style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="10" 
    width="100%" border="0" align="left">
      <tr>
        <td valign="top" width="100%">
        <p align="left">It's rudimentary, but is a stable and very basic data 
        collection framework.</p>
        <p>First you start with WAMP. I assume you're going to be running this 
        under a Windows platform.</p>
        <p>For 32 bit:<br>
        <a target="_blank" 
        href="http://www.wampserver.com/en/#wampserver-32-bits-php5-3">
        http://www.wampserver.com/en/#wampserver-32-bits-php5-3</a> <br>
        Patch: <a target="_blank" 
        href="http://www.microsoft.com/download/en/details.aspx?id=8328">
        http://www.microsoft.com/download/en/details.aspx?id=8328</a> </p>
        <p>For 64 bit:<br>
        <a target="_blank" 
        href="http://www.wampserver.com/en/#wampserver-64-bits-php-5-3">
        http://www.wampserver.com/en/#wampserver-64-bits-php-5-3</a> <br>
        Patch: <a target="_blank" 
        href="http://www.microsoft.com/download/en/details.aspx?id=13523">
        http://www.microsoft.com/download/en/details.aspx?id=13523</a> </p>
        <p>The patch is needed because if you don't have certain frameworks 
        already installed, it throws errors. The <a target="_blank" 
        href="http://www.wampserver.com/en/">wampserver.com</a> site has an 
        extensive forum that explains nearly everything.</p>
        <p>Once you've got that up and running... :D</p>
        <p>You'll make a database (mine was named brands, so those code 
        references will need to be changed to yours) and then a table within 
        your database (mine is called test). I called my database user test as 
        well, but you don't need to.</p>
        <p>You'll open up the SQL window in phpMyAdmin and copy the text in from 
        the <a target="_blank" href="../images/dcf_sql_dump.txt">sql_dump.txt</a> 
        file. This will create a test database. Before you modify anything to 
        the way you want it, install everything as given so it's easier to 
        troubleshoot. WAMP set up can be a bit titchy. (Note that I've changed 
        all the file names to preface with dcf_ and end with .txt. You should 
        change them once you download them.)</p>
        <p>Then copy the <a target="_blank" 
        href="../images/dcf_index_test.php.txt">index_test.php</a> and
        <a target="_blank" href="../images/dcf_zzzz.php.txt">zzzz.php</a> files 
        into the root of the www directory. Once everything's running well, you 
        can rename both the file and the link within that file (at the end of 
        the page) to just plain index.php. It will be OK to remove any other 
        test files at that point. The zzzz.php page is your connection string. 
        It's set up for test and for the local data connection. Once 
        everything's working, then you can change it from test.</p>
        <p>Navigating to <a target="_blank" href="http://localhost/">
        http://localhost/</a> or <a target="_blank" href="http://127.0.0.1/">
        http:/127.0.0.1/</a> at this point should show you the default page from 
        the WAMP set up. (This will change once you're done.) Make sure to set 
        the server to be &quot;online&quot;.</p>
        <p>From the system tray icon, you'll want to navigate to your php.ini 
        file. I've included the <a target="_blank" 
        href="../images/dcf_php.ini.txt">php.ini.txt</a> file - this is the 
        configuration file from a 64 bit installation. If you want to use a 
        merge tool like <a target="_blank" 
        href="http://sourceforge.net/projects/kdiff3/files/">kdiff3</a> to 
        compare the differences that makes it easier.</p>
        <p>However, there are some settings that need to be activated from the 
        menu. These are documented in the <a target="_blank" 
        href="../images/dcf_php_settings.jpg">php_settings.jpg</a> file.</p>
        <p>Now you'll open the MySQL command window. Log in with whatever 
        default password you've set. It's a development environment, so you can 
        configure it to be no password at all (this was configured during 
        initial set up). Depends on the security levels you need to enforce in 
        your environment. Dev set ups tend to be low on passwords so as to speed 
        up the delivery of code... You'll have set a password and user name 
        within phpMyAdmin for the database you've created, but due to some 
        quirks within WAMP you'll need to go into the console and run these 
        statements (one line at at time):</p>
        <p><b>SET PASSWORD FOR 'brands'@'localhost' = PASSWORD('brands');<br>
        SET PASSWORD FOR 'root'@'localhost' = PASSWORD('');<br>
        GRANT ALL PRIVILEGES ON *.* TO 'brands'@'localhost' IDENTIFIED BY 
        'brands' WITH GRANT OPTION;<br>
        GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '' WITH 
        GRANT OPTION;</b></p>
        <p>Change wherever it says brands to be the name of your database. I 
        named my database brands and also made the user name and password be 
        brands as well, so if you have a different password, where the first 
        statement says PASSWORD ('brands') then you'll want to change that to be 
        the password you selected.</p>
        <p>At this point, you'll restart WAMP - very easy to do from the tray 
        icon. Once it turns green again, you can select localhost from the top 
        of the menu, and test the code to ensure it works without errors. Once 
        it does, save a copy of your settings and code off to the side, then 
        make any modifications you need to.</p>
        <p>Once you acquire the data you want, then it's relatively easy to go 
        into phpMyAdmin and using the Export tab, export your accumulated data 
        in a variety of formats to be imported into your main database.</td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td width="100%" colspan="2" valign="top" bgcolor="#D9B6FC">&nbsp;<p></p>
    <hr>
    <p align="center"><img border="0" src="http://bonney.himblau.com/oldimages/hr_lavender.gif" width="700" height="122"> 
    </p>
    <p align="right"><!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
<script language="JavaScript" type="text/javascript">
//<![CDATA[
var site="s14himblau"
//]]>
</script>
<script language="JavaScript1.2" src="http://s14.sitemeter.com/js/counter.js?site=s14himblau" type="text/javascript">
</script>
<noscript>
<a href="http://s14.sitemeter.com/stats.asp?site=s14himblau" target="_top">
<img alt="Site Meter" src="http://s14.sitemeter.com/meter.asp?site=s14himblau" border="0" /></a>
</noscript>
<!-- Copyright (c)2002 Site Meter -->
<!--WEBBOT bot="HTMLMarkup" Endspan --></td>
  </tr>
</table>
</td>
</tr>
</table>
</center>

</body>

</html>
