⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 installation_server.html

📁 基于actionscript3.0的flashLoading控件
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Server Installation</title>
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #009933}
.style3 {color: #003399}
-->
</style>
</head>

<body>

<p><span class="title">Server Installation</span></p>
<table width="740" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><p class="normal">Before you can begin adding banner adverts, you must copy the PHP files to your webserver and run the installation script to install the database tables. If you do not wish to perform the server installation on your own, you may order a professional installation from the <a href="http://www.flashloaded.com/fl_order.php" target="_blank">order page</a> of the Flashloaded website. </p>
    <p class="normal">First you should decide on the folder structure that you will creating on your webserver. During the course of the installation process you will be creating the following 3 
	folders on the server side:</p></td>
  </tr>
</table>
<p class="normal">&nbsp;</p>
<table width="629"  border="1" cellspacing="0" cellpadding="3">
  <tr>
    <td class="normal">banner_admin</td>
    <td class="normal">A protected folder containing banner administration files.<br>
    Accessible by the banner administrator only. </td>
  </tr>
  <tr bgcolor="#E8E8E8">
    <td class="normal">banner_scripts</td>
    <td class="normal">A folder that is open for everyone to read and execute</td>
  </tr>
  <tr>
    <td class="normal">banner_images</td>
    <td class="normal">A folder that contains the banner images and to which everyone has<br>
    full permission to read/write and execute </td>
  </tr>
</table>
<p class="normal"><b><font size="1" face="Verdana">Note: Webserver requirements: 
PHP 4 and MySQL 3 or higher.<br>
   Flash requirements: Flash MX or Flash MX 2004 (published for Flash Player 6 
or 7).<br>
&nbsp;</font></b></p>
<table width="740" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="746"><p class="normal">After extracting the downloaded files, you should have the following 3 
	folders: <font color="#000080"><b>banner_admin, banner_scripts, banner_component</b></font></p>
      <p class="normal">Find the file called <font color="#000080"><b>config.php
		</b></font>which is located in the <font color="#000080"><b>banner_admin</b></font> folder and open it in a text editor (such as Notepad):</p>
      <p class="normal">1. Edit the following parameters in this file to match your 
		<b><font color="#000080">MySQL </font></b>database parameters:</p>
      <blockquote>
        <p class="normal"><span class="style2">// database host - in most cases leave this as &quot;localhost&quot;</span><br>
            <span class="style3">$DBhost = &quot;localhost&quot;; </span></p>
        <p class="normal"><span class="style2">// database username</span><br>
            <span class="style3">$DBuser = &quot;ENTER DB USERNAME HERE&quot;;</span><br>
            <br>
            <span class="style2">// database password</span><br>
            <span class="style3">$DBpass = &quot;ENTER DB PASSWORD HERE&quot;;</span></p>
        <p class="normal"><span class="style2">// database name</span><br>
            <span class="style3">$DBName = &quot;ENTER DB NAME HERE&quot;;</span> </p>
      </blockquote>
      <p>&nbsp;</p>
      <p class="normal">2. Enter the relative path from the directory where the 
		<font color="#000080"><b>config.php</b></font> file is located (banner_admin) to the 
		<b><font color="#000080">banner_images</font></b> folder:</p>
      <blockquote>
        <p class="normal"><span class="style2">// Enter the relative path of the images folder</span><br>
            <span class="style3">$imgPath = &quot;../banner_images&quot;;</span></p>
      </blockquote>
      <p>&nbsp;</p>
      <p class="normal">3. Enter a username and password for the banner administrator:</p>
      <p class="normal style3">$admin_username = &quot;admin&quot;;<br>
  $admin_password = &quot;123&quot;;</p>
      <p class="normal"><br>
  4. Enter the maximum file size in bytes for uploaded banner image files:</p>
      <p class="normal"> <span class="style3">$MAX_FILE_SIZE = 15000;</span><br>
      </p>
      <p class="normal"><br>
          <br>
  Save the<font color="#000080"> </font> <span class="normalbold">
		<font size="2" color="#000080">config.php</font></span><font color="#000080">
		</font>file.</p>
    <p class="normal">&nbsp;</p></td>
  </tr>
</table>
<p class="normal">Create 3 folders with the following names on your webserver and set the permission accordingly:</p>
<table width="181"  border="1" cellspacing="0" cellpadding="3">
  <tr>
    <td width="76%" class="normal">banner_admin</td>
    <td width="24%" class="normal">755</td>
  </tr>
  <tr>
    <td class="normal">banner_scripts</td>
    <td class="normal">755</td>
  </tr>
  <tr>
    <td class="normal">banner_images</td>
    <td class="normal">777</td>
  </tr>
</table>
<p class="normal">If you using a Windows webserver or an FTP program to set the permissions, this is how the 
folder permission settings should look:</p>
<table width="38%"  border="1" align="center" cellpadding="3" cellspacing="0">
  <tr>
    <td><div align="center" class="normal"><img src="img/pic1.gif" width="374" height="129"></div></td>
  </tr>
  <tr>
    <td height="37"><div align="center" class="normalbold">Permission Setting: 755 </div></td>
  </tr>
  <tr>
    <td height="37"><div align="center"><span class="normal"><img src="img/pic2.gif" width="374" height="129"></span></div></td>
  </tr>
  <tr>
    <td height="37"><div align="center"><span class="normalbold">Permission Setting: 777</span></div></td>
  </tr>
</table>
<p>&nbsp;</p>
<table width="753" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="740"><p class="normal">Upload the contents of the <span class="normalbold">
	<font color="#000080">banner_admin</font></span> and <span class="normalbold">
	<font color="#000080">banner_scripts</font></span> folders to the folder with the same names on your webserver.</p>
      <p class="normal"><b>Note:</b> Most FTP programs have an &quot;auto&quot; mode which automatically detects the file type to upload. If you manually select the file type, all the files must be uploaded in ASCII (text) mode with the exception of <span class="normalbold">
		<font color="#000080">banner_admin/banner_rotator.jpg</font></span> which must be uploaded in binary mode.</p>
      <p class="normal">As an added security, we recommend password protecting the entire 
		<b><font color="#000080">banner_admin</font></b> folder that is on your webserver. Many wehosting control panels include an option to easily password protect a 
		folder. If you are unsure as to how to do this, we suggest checking with your webhoster first. Note: The only 
		folder that should be password protected is <b><font color="#000080">banner_admin</font></b>.</p>
      <p class="normal">You are now ready to set up the database. Click <a href="installation_database.html">here</a> for instructions on setting up the database. </p>
    <p>&nbsp;</p></td>
  </tr>
</table>
<p class="normal">&nbsp;</p>
<p class="normal">&nbsp;</p>
<p class="normal">&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -