SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

ppa - prepaid accounting

Introduction

Prepaid accounting (ppa) is a system that provides tracking of connect time, payments, and miscellaneous charges by users of a public internet centre, cafe, shell account or dial-up host.

Each user has an account containing transactions. Connect time derived from the system accounting logs is used to create charges to the accounts. Manual entry of other transactions is to be done by the system administrator.

Inputs

  • creates connect time transactions from system accounting logs /var/log/wtmp*,
  • accepts payment and charge transactions from an administrator via a web browser,
  • accepts hourly rate changes for users from an administrator via a web browser,

Outputs

  • displays transactions and account balances for logged-in users,
  • displays a list of logged-in users for the administrator,
  • displays a list of all users with balances for the administrator.

Dependencies

  • Apache,
  • PHP,
  • a customised version of sac.

Note: this package has no dependency on any database package; all information storage is handled using PHP serialized arrays stored in text files.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.