Pages:
Author

Topic: Source code - Trafic Exchange Website that uses Bitcoin - page 2. (Read 8903 times)

legendary
Activity: 854
Merit: 1000
Quote
nice to share,i have some question here.
- why must be we need 2 BlockChain Accounts?
- how if i'm use PHP V4 or V3 ?
thanks for share it for free Grin

About the 2 BlockChain Accounts:
It basicly needs to be 2 accounts because I couldn't find a way to check if the Bitcoins where received in the wallet and I needed also to prevent the bitcoins from that address to be sended. If the bitcoins from that address where sent to another person, the user couldn't claim his Bitcoin's into his account.

About the  PHP V4 or V3:
I don't know if its compatible with those version I don't have a way to test it.

Says on Blockchain.info API you need to install services for it to work now, meaning you'd need a VPS.. or is my understanding wrong? Thanks again for sharing
member
Activity: 98
Merit: 10
Quote
nice to share,i have some question here.
- why must be we need 2 BlockChain Accounts?
- how if i'm use PHP V4 or V3 ?
thanks for share it for free Grin

About the 2 BlockChain Accounts:
It basicly needs to be 2 accounts because I couldn't find a way to check if the Bitcoins where received in the wallet and I needed also to prevent the bitcoins from that address to be sended. If the bitcoins from that address where sent to another person, the user couldn't claim his Bitcoin's into his account.

About the  PHP V4 or V3:
I don't know if its compatible with those version I don't have a way to test it.
legendary
Activity: 2674
Merit: 1048
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/TXZoneSimulator

REQUIREMENTS
- 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 Cheesy

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 credits

If you're using this for comercial purposes you need to donate 10% of the Monthly income to this Bitcoin address: 1GGxGZJdeQYKu9C1MQPuiq1unMuhCMWCRh

By donating you're helping me to get better hardware to make better software. Sharing is Caring  Grin

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: 1GGxGZJdeQYKu9C1MQPuiq1unMuhCMWCRh

Disclaimer:
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.
- why must be we need 2 BlockChain Accounts?
- how if i'm use PHP V4 or V3 ?
thanks for share it for free Grin
sr. member
Activity: 336
Merit: 250
nyimak  Cheesy Cheesy
member
Activity: 98
Merit: 10
Update 3:
-> Added feature to add or remove administrators
legendary
Activity: 854
Merit: 1000
Is this script still being developed?
I would have loved to help if only it wasn't in PHP Sad
sr. member
Activity: 420
Merit: 250
Wow nice. Will try to upload to my website. Lel. :p
member
Activity: 98
Merit: 10
Be very cautious when using public PTC scripts. There are a LOT of vulnerable sites right now and most are using the same scripts. Here are a few examples of vulnerable websites using public scripts
http://www.sweetkittyptc.info/index.php?ref=admin
http://www.ptchub.info/index.php?view=forum&limitCat=10&ref=admin&
http://www.superptcman.com/index.php?ref=admin
One wrong move & all your money is gone. Get someone to test the script for vulnerabilities if you decide to use this or create your own.
Either way, let's hope it's not backdoored or exploitable.

(Not saying that the creator did anything, but it's possible that it has a security flaw as everything else does)
Is there a live example? I'd like to test the site for exploits.
It has just one until today. Im working on a fix that will be released after I update and test this script on the newest version of PHP and MySQL
I've made only the "base" of this site. For now on, I will improve the safety of the script and add new feactures like the number of Bitcoins that the website paid, a recovery password zone and an Admin Panel.
I will proved you 10% of the Monthly income [net profit] after you improve the safety of the script and add new features. I going to use your script after improved released.



I just checked few of PTC sites listed above. And I am not satisfied with design and colors. Its must have good UI and UX. Good UI and UX decreases Bounce rate which finally results in good alexa rankings.
My Script has a nice looking UI that was made from scratch
hero member
Activity: 1568
Merit: 502
Be very cautious when using public PTC scripts. There are a LOT of vulnerable sites right now and most are using the same scripts. Here are a few examples of vulnerable websites using public scripts
http://www.sweetkittyptc.info/index.php?ref=admin
http://www.ptchub.info/index.php?view=forum&limitCat=10&ref=admin&
http://www.superptcman.com/index.php?ref=admin
One wrong move & all your money is gone. Get someone to test the script for vulnerabilities if you decide to use this or create your own.
Either way, let's hope it's not backdoored or exploitable.

(Not saying that the creator did anything, but it's possible that it has a security flaw as everything else does)
Is there a live example? I'd like to test the site for exploits.
It has just one until today. Im working on a fix that will be released after I update and test this script on the newest version of PHP and MySQL
I've made only the "base" of this site. For now on, I will improve the safety of the script and add new feactures like the number of Bitcoins that the website paid, a recovery password zone and an Admin Panel.
I will proved you 10% of the Monthly income [net profit] after you improve the safety of the script and add new features. I going to use your script after improved released.



I just checked few of PTC sites listed above. And I am not satisfied with design and colors. Its must have good UI and UX. Good UI and UX decreases Bounce rate which finally results in good alexa rankings.
member
Activity: 98
Merit: 10
It's pretty nice that you are keeping develop the script. Have you ever tried to launch a demo?
I'm currently saving some money to buy 2 Rasperry PI 2 to host the demo. After I buy the 2 Rasperry PI 2 I will launch a demo hosted on the Rasperry PI 2
I don't think so that you have to spend that much for a demo. Try something simple
I was planning to host in one Rasperry the demo and use the another to develop a prototype of this script. That prototype will interact with an offline Lan host to make the database and the blockchain wallet more secure
Its also less expensive to host the demo on the rasperry pi since I will plug the rasperry to my router and use the router's energy making a low cost host (My router is 24h on)
I see the point now. Hope we can try it in the near future. BTW did you made any recent updates on the source?
Not yet
sr. member
Activity: 462
Merit: 250
It's pretty nice that you are keeping develop the script. Have you ever tried to launch a demo?
I'm currently saving some money to buy 2 Rasperry PI 2 to host the demo. After I buy the 2 Rasperry PI 2 I will launch a demo hosted on the Rasperry PI 2
I don't think so that you have to spend that much for a demo. Try something simple
I was planning to host in one Rasperry the demo and use the another to develop a prototype of this script. That prototype will interact with an offline Lan host to make the database and the blockchain wallet more secure
Its also less expensive to host the demo on the rasperry pi since I will plug the rasperry to my router and use the router's energy making a low cost host (My router is 24h on)
I see the point now. Hope we can try it in the near future. BTW did you made any recent updates on the source?
newbie
Activity: 11
Merit: 0
sharing is caring   Wink
any demo available ?
member
Activity: 98
Merit: 10
It's pretty nice that you are keeping develop the script. Have you ever tried to launch a demo?
I'm currently saving some money to buy 2 Rasperry PI 2 to host the demo. After I buy the 2 Rasperry PI 2 I will launch a demo hosted on the Rasperry PI 2
I don't think so that you have to spend that much for a demo. Try something simple
I was planning to host in one Rasperry the demo and use the another to develop a prototype of this script. That prototype will interact with an offline Lan host to make the database and the blockchain wallet more secure
Its also less expensive to host the demo on the rasperry pi since I will plug the rasperry to my router and use the router's energy making a low cost host (My router is 24h on)
sr. member
Activity: 462
Merit: 250
It's pretty nice that you are keeping develop the script. Have you ever tried to launch a demo?
I'm currently saving some money to buy 2 Rasperry PI 2 to host the demo. After I buy the 2 Rasperry PI 2 I will launch a demo hosted on the Rasperry PI 2
I don't think so that you have to spend that much for a demo. Try something simple
member
Activity: 98
Merit: 10
It's pretty nice that you are keeping develop the script. Have you ever tried to launch a demo?
I'm currently saving some money to buy 2 Rasperry PI 2 to host the demo. After I buy the 2 Rasperry PI 2 I will launch a demo hosted on the Rasperry PI 2
sr. member
Activity: 462
Merit: 250
I can launch a demo if needed Smiley
I would like to give a try if you have some spare time to make it
hero member
Activity: 762
Merit: 500
I can launch a demo if needed Smiley
sr. member
Activity: 462
Merit: 250
Update 2:
-> Fully implemented Anti SQL-Injection on all Scripts
-> Admin Pannel Added (Please note that the Admin pannel is incomplete)
It's pretty nice that you are keeping develop the script. Have you ever tried to launch a demo?
member
Activity: 98
Merit: 10
Update 2:
-> Fully implemented Anti SQL-Injection on all Scripts
-> Admin Pannel Added (Please note that the Admin pannel is incomplete)
sr. member
Activity: 462
Merit: 250
Was this source already used or launced by someone around here? Might would be interesting if seems to be ok, without major bugs, security issues
Pages:
Jump to: