
1
Устим
no recommendations
no complaints
Closed
Project title: Set up BitCoin I/O with api blockchain
Type of cooperation: One-time project
Section: Web development
Prepayment: without prepayment
Payment methods: Bank transfer, Electronic money
Acceptance of requests: closed
Type of cooperation: One-time project
Section: Web development
Prepayment: without prepayment
Payment methods: Bank transfer, Electronic money
Acceptance of requests: closed
Project description:
Task:
1) Create an empty project with mandatory files: index.php, config.php, login.php, accaunt.php, pay_less.php, pay_more.php + MySql single-user database in the tb_users table. In the table tb_users must be present fields: login, password, email, regdata, balance.
(2) You must make the index.php page display: "You are not authorized" and a link to authorization (login.php), and if authorized, "You are authorized" and a link: "My page" to accaunt.php file. That is, in the index file you need to connect the configuration file - config.php (with a connection to the database), create a session and check for authorization.
(3) On the page "accaunt.php" create the following: "My balance:"The value of the balance from the balance field of the table tb_users DB"", and two links:
- "Topping up the balance" - to the file pay_more.php;
- "Get money" - on the file pay_less.php.
4) On the page "pay_more.php" create a button: "Show BitCoin address for payment" After clicking on the button, the address for payment should appear on the page, this address should be a one-time one, that is, after each payment, a new address should be created. After confirmation of payment, the field "balance" tables "tb_users" should increase by the amount of replenishment.
5) On the page "pay_less.php" create a form from the fields: "Specify the sum for withdrawal", "Indicate the wallet where to transfer money" and the button "Confirm". When you press the button "Confirm" must be checked for the presence of this amount on the balance sheet (field "balance" tables "tb_users" if all is correct, the specified address must be replenished by the specified amount and this amount must be deducted from the balance sheet.
Task:
1) Create an empty project with mandatory files: index.php, config.php, login.php, accaunt.php, pay_less.php, pay_more.php + MySql single-user database in the tb_users table. In the table tb_users must be present fields: login, password, email, regdata, balance.
(2) You must make the index.php page display: "You are not authorized" and a link to authorization (login.php), and if authorized, "You are authorized" and a link: "My page" to accaunt.php file. That is, in the index file you need to connect the configuration file - config.php (with a connection to the database), create a session and check for authorization.
(3) On the page "accaunt.php" create the following: "My balance:"The value of the balance from the balance field of the table tb_users DB"", and two links:
- "Topping up the balance" - to the file pay_more.php;
- "Get money" - on the file pay_less.php.
4) On the page "pay_more.php" create a button: "Show BitCoin address for payment" After clicking on the button, the address for payment should appear on the page, this address should be a one-time one, that is, after each payment, a new address should be created. After confirmation of payment, the field "balance" tables "tb_users" should increase by the amount of replenishment.
5) On the page "pay_less.php" create a form from the fields: "Specify the sum for withdrawal", "Indicate the wallet where to transfer money" and the button "Confirm". When you press the button "Confirm" must be checked for the presence of this amount on the balance sheet (field "balance" tables "tb_users" if all is correct, the specified address must be replenished by the specified amount and this amount must be deducted from the balance sheet.