We would like to post the status of the four servers we have to our customers to see. In essense we need a very simplified version of
<[login to view URL]>
In the first version of this, we will just focus on one server. (supporting the other 3 servers is project extension).
For this task we need three scripts:
1. [login to view URL] This will be a cron job (we will run it as "php [login to view URL]" every 10mins). This should run bunch of tests and collect the results in a database.
2. status.php. Currently just dump the database table. No pretty printing is necessary at this moment. (That's an additional task). See below for the table content.
3. runRegression.php. This is a more detailed test that will be run manually occasionally. Dump the results to a database to be displayed by [login to view URL]
The collected data should include:
1. When the test was run
2. The server used
3. The request id.
4. The request type.
5. The response time
6. Whether the response is what is expected or not.
The first server only supports 1 POST command. (A sample test program will be supplied) but there are multiple parameters to the post command (About 6).
Your job is to convert the sample test program into [login to view URL] and [login to view URL] so that the info can be collected in a database.
Please use sqlite (pdo).
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
PHP 5.x
The scripts should run on any php/apache server (will be tested with the latest version of <[login to view URL]>) and [login to view URL] should be modified to display all warnings and notices E_ALL