PreviousNextHome

5. Installation (Unix)
  1. Use File Transfer Protocol (FTP) program to create the necessary directories, upload the files listed in Chapter 3 and set the file permissions. If you cannot set the file permissions using FTP program, you need to telnet to your server and change the file permissions.
  2. Locate and change to your cgi directory (usually 'cgi-bin' or 'cgi-local' which depends on your web host).
  3. Create a subdirectory called 'emgb' under cgi directory to hold the neccessary files by entering the following command:
  4. Change the permission of the directory by entering the following command (Appendix A explains how to set file permissions):
  5. Upload the following files in ASCII mode to the directory created in step 3 above:
  6. Change the permission of the above files by entering the following commands:
  7. Create subdirectories admin and template under the directory created in step 2 by entering the following commands:
  8. Change the permission of the above subdirectories by entering the following commands:
  9. Upload the following files in ASCII mode to the subdirectory 'admin' :
  10. Change the permission of admin.php, admin_func.php by entering the following command:
  11. Upload the following files in ASCII mode to the subdirectory 'template'.
  12. Change the permission of the above files by entering the following commands:
  13. Create subdirectory admin under the directory 'template' by entering the following commands:
  14. Upload the following files in ASCII mode to the subdirectory 'admin' of 'template'.
  15. Change the permission of the above files by entering the following commands:
  16. Upload the following files in Binary mode to the your image directory.

The directory structure of 'emgb' looks like :

emgb (drwxr-xr-x)
   |____admin (drwxr-xr-x)

   |       |___admin.php (-rwx-r-xr-x)

   |       |___admin_func.php (-rw-r--r--)

   |       |___auth.php (-rw-r--r--)
   |       |___auth_func.php (-rw-r--r--)
   |____template(drwxr-xr-x)
   |       |___admin (-rwxr-xr-x)
   |       |     |___template_emgb_admin.html (-rw-r--r--)
   |       |     |___template_emgb_admin_guestbook_update.html (-rw-r--r--)
   |       |     |___
template_emgb_admin_guestbook_view.html (-rw-r--r--)
   |       |     |___
template_emgb_admin_guestbook_view_row.html (-rw-r--r--)
   |          |___
template_emgb_admin_setting.html (-rw-r--r--)
   |          |___
template_emgb_login_form.html (-rw-r--r--)
   |       |___
template_emgb.html (-rw-r--r--)
   |       |___
template_emgb_form.html (-rw-r--r--)
   |       |___
template_emgb_preview.html (-rw-r--r--)
   |       |___
template_emgb_thankyou.html (-rw-r--r--)
   |       |___
template_emgb_view.htm (-rw-r--r--)
   |       |___
template_emgb_view_message.html (-rw-r--r--)
   |____class.fasttemplate.php (-rw-r--r--)

   |____emgb_config.php (-rw-r--r--)

   |____emgb_default.php (-rw-r--r--)

   |____emgb_func.php (-rw-r--r--)

   |____emgb_msg.php (-rw-r--r--)

   |____emviewgb.php (-rw-r--r--)

   |____sessions.php (-rw-r--r--)

   |____sql_func.php (-rw-r--r--)

   |____emgb.php (-rwxr-xr-x)



http://www.eternalmart.com PreviousNextHome
Copyright(C) 2001 EternalMart All rights reserved.