Hello World,
Im developing a PTC website made in PHP in almost a year.
In the begining I was going to host this website but my host machine broke down.
So, im making this website Open Source for everyone that wants to use it.
I've uploaded all the files to GitHub.
GitHub Source Code Link:
http://zenjb.github.io/TXZone/I've also made a Simulator that Simulates the Bitcoin's Earned by a user (Simulator Requires Mathematica 10 From Wolfram to open).
Simulator Link:
https://github.com/ZenJB/TXZoneSimulatorREQUIREMENTS
- Apache
- MySQL
- MSMTP
- PHP V5.5.13
- phpmyadmin
- 2 BlockChain Accounts
(RECOMENDED BUT NO NECESSARY, BitWebServer to host the website with an Android device because the website was made using BitWebServer as host)
How to setup the website?
1> Setup Apache, MySQL, MSMTP, PHP (Or Simply download BitWebServer from PlayStore if you're hosting the website using an Android Device)
2> Create 2 Blockchain wallet accounts
3> Enable API in both of your Blockchain Wallets
4> Create a database on MySQL named txzone using phpmyadmin
5> Import the database.xml file to the database using phpmyadmin
6> Edit db.php in /scripts
7> Allow your website to acess the API of your wallets
How to reset Tasks Completed By the users (Must be done daily to enable user to make their tasks on the next day):
1> In phpmyadmin go to txzone -> tasks and delete all data inside
How to enable Withdraws:
1> Send Bitcoin from your Deposit Account to your Withdraw account
2> In phpmyadmin go to your txzone -> webcontrol And set the payment from 0 to 1
How to add yourself as admin:
-> On PHPMyAdmin go to txzone -> administrators -> Insert
-> In admin Insert your username (it as to be same as your username stored in the table members)
-> In joindate put the date that you became the admin
-> Click on "Go" to save on db
If anything is missing please send a private message
Update 1:-> Implemented Anti SQL-Injection Script
-> Login and Register Script are now using Anti SQL-Injection
-> Password Encrypted tree times with MD5 Encryption
Update 2:-> Fully implemented Anti SQL-Injection on all Scripts
-> Admin Pannel Added (Please note that the Admin pannel is incomplete)
Update 3:-> Added feature to add or remove administrators
Missing feactures that will be added:->
Admin Panel Added on 23/01/2016
-> Ability to choose where to store Bitcoins
-> Anti SQL-Injection on all pages
-> Source Code Encryption
-> Ability to use MySQLi
-> Recover Password Page
-> Compatibility with all PHP versions
-> Choose withdraw method (FaucetBox / Instant Withdraw)
-> Send Email to Advertiser When Their ads were all seen
-> Add view statistic to Advertiser (Number of ads seen per day, Monthly Statistics, Ads bought)
-> "Winnings on website" - Number of adds bought versus number of ads seen
-> Automatization of Withdraw System
-> Android mobile app
-> Other Languages (Portuguese, French and Spanish)
If you use this Source Code please give me the proper creditsIf you're using this for comercial purposes you need to donate 10% of the Monthly income to this Bitcoin address: 1GGxGZJdeQYKu9C1MQPuiq1unMuhCMWCRhBy donating you're helping me to get better hardware to make better software. Sharing is Caring
Im going to update Blockchain API but I don't have Bitcoins to test and develop. If you want to help me please make a donation to here: 1GGxGZJdeQYKu9C1MQPuiq1unMuhCMWCRhDisclaimer:I am not responsible if you or someone loses Bitcoins, or if you get hacked dued to the lack of security or dued to another thing that may happen.
This is a project in development. So, you will experience bugs, lack of feactures, and many other things...
USE IT AT YOUR OWN RISK. nice to share,i have some question here.