Code Monkey home page Code Monkey logo

contract's Introduction

FTP Contract

A signable contract that lives in a single file

  • Host the stand-alone file on your own domain
  • Can only be singed once
  • Final document has Print and Download as PDF buttons

What's in each file

test.php

A demo of the contract -- at the stage where it's waiting for the second signature. This runs on a live server and can be viewed (and ran) at: vileworks.com/contract/test.php. The only difference between this file and contract.php (mentioned below) is that test.php doesn't delete itself when you sign it.

All code (PHP, CSS, HTML, PNG-data, JS) required by a stand-alone contract file. Upon being signed, this script deletes itself (or rather, it deletes its .php file), and leaves behind an .html file: a final version of the contract, signed by both parties.

readme.md

The file containing the text you're currently reading.

How it works

When the Contract Script (contract.php) receives a signature from the Second Party (your Client/the last person who signs) it deletes itself from your server and and leaves behind a Contract Document (contract.html)

You can get the Contract Script in one of two ways:

Download and edit contract.php from this repo, follow the steps from the comments at the top of the file, and use this online tool to generate a new PNG signature. Give it a filename that is harder to guess.

Alternatively, you can generate a Contract Script online with custom HTML for the contract copy, a signature for the first party, and filename like contract-1447311912.php.

Send your Client a link to the contract, hosted under your own domain.

Signed Contract

--

MIT License

contract's People

Contributors

nonsalant avatar gilrosenthal avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.