Location: PHPKode > scripts > AGTC - CSV File Upload Script > agtc-csv-file-upload-script/README.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>AGTC - CSV Upload Script v1.0a</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
.style2 {
	color: #FF0000;
	font-weight: bold;
}
.style3 {
	color: #FF0000;
	font-style: italic;
	font-weight: bold;
}
.style4 {color: #339999}
.style5 {
	color: #FF3300;
	font-style: italic;
	font-weight: bold;
}
.style8 {color: #3399CC}
.style9 {color: #3399FF}
.style11 {color: #FF6600; font-style: italic; }
.style13 {color: #339900}
.style14 {color: #000000}
.style15 {
	color: #FF6600;
	font-weight: bold;
	font-style: italic;
}
.style18 {
	font-size: small;
	color: #FF0000;
}
.style19 {color: #330000}
.style20 {color: #0000FF}
-->
</style>
</head>

<body>
<h2 class="style1"><strong> AGTC - CSV Upload Script v1.0a &copy;2006 </strong></h2>
<p class="style1"><span class="style2"><em>Intro:</em></span><br>
  Hi, thanks for downloading my version of a simple to use CSV file uploader, you can incorporate<br>
  this into any site without any difficulty, if you struggle at all, just email me and I will help you sort it out. <br>
  <strong>You cannot distribute or sell without written consent, you can change this source code so long as you keep the copyrights intact on<br>
  each file.
  </strong>
</p>
<p class="style1"><span class="style2"><em>Requirements:</em></span><br>
  HTML/PHP Editor, MS-Excel or similar &amp; MYSQL database server (of course)<br>
</p>
<p class="style1"><span class="style2"><em>Features:</em></span><br>
  1. Login Page<br>
  2. User level status check<br>
  3. Four different access levels (Inc Admin level)<br>
  4. Admin backend page for listing/editing/deleting records<br>
  5. Easy to add level and login check to any of your pages<br>
  6. User membership sign up page (with auto level 1 status)<br>
  7. Auto responder 'Thank you' email sent to your new member on signup completion<br>
  8. Mysql database setup<br>
  9. Built in password encryption</p>
<p class="style1"><span class="style3">File Check:</span> <br>(You should have this list of files uploaded to your server)<br><br>
  <span class="style4">config.inc<br>
  index.php<br>
  README.html</span><br>
</p>
<p class="style1"><span class="style5">Instructions:</span><br>
  1. Upload all files to your website server<br>
  2. Create a folder called 'uploads' in the same directory as the above files <br>
  3. Edit file config.inc with your Mysql server details<br>
4. Your done....</p>
<p class="style1">Not trying to teach granny to suck eggs, but for those who don't know how to edit the '<em>config.inc</em>' file, follow these destructions...<br>
  Only change the code in <span class="style13">GREEN</span> </p>
<p class="style1"> <span class="style8"><span class="style2">&lt;?php</span><br>
    <span class="style14">$dbhost = &quot;</span><span class="style13">localhost</span><span class="style14">&quot;;</span></span> <span class="style11">(This is the name of your host, which is usually 'localhost') </span><br>
  <span class="style9"><span class="style14">$dbuser = &quot;</span><span class="style13">dbusername</span><span class="style14">&quot;;</span> <span class="style11">(This is the username of your Mysql database) </span><br>
  <span class="style14">$dbpassword = &quot;</span><span class="style13">dbpassword</span><span class="style14">&quot;;</span> <span class="style11">(This is the password needed to access the Mysql database)</span><br>
  <span class="style14">$dbname = &quot;</span><span class="style13">mydatabase</span><span class="style14">&quot;; </span><span class="style11">(This is the name of you Mysql database)</span></span></p>
<p class="style1"><span class="style9">(Do not chage anything below here) <br>
    <span class="style14">mysql_connect($dbhost, $dbuser, $dbpassword) or die (&quot;ERROR: Could not connect to the database&quot;);<br>
  mysql_select_db($dbname);</span><br>
  <span class="style2">?&gt;</span></span><br>
</p>
<p class="style1 style15">Note: </p>
<p class="style1">It is possible you may get an error when uploading a CSV file, the most common cause of this is the column field count in the CSV file does not match the Myqsl database column count, in other words for each column in your Excel(CSV) database you should have in your Mysql database. They have to match or you will get errors. </p>
<p class="style1">Thats it....</p>
<p class="style1">&nbsp;</p>
<p class="style1">Tech Questions Email : <a href="mailto:hide@address.com">hide@address.com </a></p>
<p class="style1">AGTC Web Solutions Website : <a href="http://www.agtc.co.uk">http://www.agtc.co.uk</a> </p>
<p class="style1">If you would like a very affordable script wrote specifically for your website then please contact me by emailing : <a href="mailto:hide@address.com%20">hide@address.com </a></p>
<p class="style1">For a small fee you can have this script personalised to your website by emailing : <a href="mailto:hide@address.com%20">hide@address.com</a></p>
<p class="style1 style18"><span class="style19"><span class="style20"><em><strong>Disclaimer</strong></em>:<br> 
  I or my company AGTC Web Solutions cannot be held responsible for any problems or errors that may cause this script not to work, or through incorrect installation by the user which may cause malfunction of there website or corrupt an existing database or file. You as the user must test and use a trial database before integrating into your actual website. Note: Breech of copyright is theft, do not use this script to sell or distribute freely without written consent from AGTC Web Solutions.</span></span></p>
<p class="style1 style18 style20">For commercial use you must inform AGTC of its use and send &pound;5.00 through PAYPAL or NOCHEX with the title 'LICENCE FOR AGTC-CSV UPLOAD SCRIPT v1.0a' using the account 'hide@address.com'. Failure to do this within 30 days will result in legal action. </p>
<p class="style1 style14">&nbsp;</p>
<p></p>


</body>
</html>
Return current item: AGTC - CSV File Upload Script