Bitcoin Forum

Bitcoin => Project Development => Topic started by: ZenJB on January 11, 2016, 08:29:05 PM



Title: Source code - Trafic Exchange Website that uses Bitcoin
Post by: ZenJB on January 11, 2016, 08:29:05 PM
Hello World,

Im developing a Trafic Exchange 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.

Official Website using this script: http://zenjb.tk/project/TXZone/

In the live demo, you're not allowed to "test" the security of the script. Also, the withdraws and the deposits are disabled

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
8> On PHPMyAdmin go to txzone -> administrators -> Insert
9> In admin Insert your username (it as to be same as your username stored in the table members)
10> In joindate put the date that you became the admin
11> Click on "Go" to save on db

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

Atention:
When you update the script version you will lose your database data. So, make sure to back up everything before updating!

If anything is missing please send a private message :D

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

For each 0,2542 BTC that I receive in donation, I will release an update to this script
Current donated BTC: 0.00005500 BTC

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

Download Link:
http://zenjb.github.io/TXZone/

If you wan't to see my personal website, the link is:
http://zenjb.tk/

Email:
0zenjb0@gmail.com

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.


Title: Re: Source code - PTC Website
Post by: rubygon on January 12, 2016, 12:18:04 PM
What is the difference between your script and aurora and bux scripts?


Title: Re: Source code - PTC Website
Post by: ZonedOutSpace on January 12, 2016, 12:19:27 PM
Hello World,

Im developing a PTC website made in PHP.
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 Link: http://zenjb.github.io/TXZone/

REQUIREMENTS
- Apache
- MySQL
- MSMTP
- PHP V5.5.13
- phpmyadmin
- 2 BlockChain Accounts

How to setup the website?
1> Setup Apache, MySQL, MSMTP, PHP (Download Bit Web Server from PlayStore in order to host the server. In the future it will be more compatible with xampp and others)
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 databa inside

How to enable Withdraws:
1> In phpmyadmin go to your txzone -> webcontrol And set the payment from 0 to 1

If anything is missing please reply to this topic

If you use this Source Code please give me the proper credits

If you want to buy me a coffee please make a donation :)

Bitcoin Address : 1EWhnNyoLpMHvKNETyRCn95tDaJmsPjuSX

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.


Cool project, but you should consider updating to mysqli as mysql is deprecated as of php 5.5.X.


Title: Re: Source code - PTC Website
Post by: Robertt on January 12, 2016, 12:21:53 PM
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.


Title: Re: Source code - PTC Website
Post by: ZenJB on January 12, 2016, 04:08:32 PM
What is the difference between your script and aurora and bux scripts?
1) This site does not use Referal, wich is Illegal in some countries
2) Its free to use for personal purposes but if you use it for comercial purposes you have only to donate 10% (A small fee to help me building this project and many others)
3) It was written from scrath (The only things that are not made by me is the Captcha system and Json to be able to comunicate with BlockChain. But in the future Captcha will be written from scratch and will be a new captcha system)
If there are more let me know :)
4) The user password is encrypted (UserNumber+Password are encrypted in MD5). In the future I will a PIN number that is encrypted with the password to store it more safely
5) It will have a Simulator that Simulates the earnings of a User in this site (It is a package to be used on a Program Called Mathematica and is ready to be launched im just searching for bugs)


Title: Re: Source code - PTC Website
Post by: ZenJB on January 12, 2016, 04:10:24 PM
Hello World,

Im developing a PTC website made in PHP.
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 Link: http://zenjb.github.io/TXZone/

REQUIREMENTS
- Apache
- MySQL
- MSMTP
- PHP V5.5.13
- phpmyadmin
- 2 BlockChain Accounts

How to setup the website?
1> Setup Apache, MySQL, MSMTP, PHP (Download Bit Web Server from PlayStore in order to host the server. In the future it will be more compatible with xampp and others)
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 databa inside

How to enable Withdraws:
1> In phpmyadmin go to your txzone -> webcontrol And set the payment from 0 to 1

If anything is missing please reply to this topic

If you use this Source Code please give me the proper credits

If you want to buy me a coffee please make a donation :)

Bitcoin Address : 1EWhnNyoLpMHvKNETyRCn95tDaJmsPjuSX

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.


Cool project, but you should consider updating to mysqli as mysql is deprecated as of php 5.5.X.
I will consider if its safer. I will analyse


Title: Re: Source code - PTC Website
Post by: ZenJB on January 12, 2016, 04:20:07 PM
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.


Title: Re: Source code - PTC Website
Post by: tyz on January 12, 2016, 06:16:45 PM
Great!
I was looking for such an open source script some weeks ago. I will take a look at the code on the weekend. If I going to use your script, you will definitely get a little tip ;)


Title: Re: Source code - PTC Website
Post by: wdnj on January 13, 2016, 02:23:56 PM
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.


Title: Re: Source code - PTC Website
Post by: Btcoinat on January 14, 2016, 10:40:53 AM
Hello World,

Im developing a PTC website made in PHP.
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 Link: http://zenjb.github.io/TXZone/

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 (Download Bit Web Server from PlayStore in order to host the server. In the future it will be more compatible with xampp and others)
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 databa inside

How to enable Withdraws:
1> In phpmyadmin go to your txzone -> webcontrol And set the payment from 0 to 1

If anything is missing please send a private message :D

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

If you want to buy me a coffee donate to this address: 1EWhnNyoLpMHvKNETyRCn95tDaJmsPjuSX


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.


niiiiiiiiiiiiceeee


Title: Re: Source code - PTC Website
Post by: K128kevin2 on January 14, 2016, 11:34:46 AM
ahhh why ever use php???


Title: Re: Source code - PTC Website
Post by: Emerge on January 14, 2016, 11:56:12 AM
pretty cool project. Hope you continue developing this service/script


Title: Re: Source code - PTC Website
Post by: ZenJB on January 14, 2016, 01:49:36 PM
ahhh why ever use php???
With PHP you can host a website in devices such as Android, Rasperry PI, PC, Mac, etc.
You can choose the device that most suits your needs  :)


Title: Re: Source code - PTC Website
Post by: ZenJB on January 14, 2016, 01:51:19 PM
pretty cool project. Hope you continue developing this service/script
I will continue  ;D


Title: Re: Source code - PTC Website
Post by: hoop on January 14, 2016, 01:57:46 PM
May I ask you is your devs skills with PHP only?


Title: Re: Source code - PTC Website
Post by: ZenJB on January 14, 2016, 01:59:37 PM
May I ask you is your devs skills with PHP only?
Yes you may  :D. Its not only with PHP, I program in C# (A little), PHP, html, Vb.net, Javascript (A little), In casio Calculators (My first experience in programing), Mathematica, etc...
And im going to learn more languages because im taking a degree in Computer Engineering in the University.


Title: Re: Source code - PTC Website
Post by: examplens on January 14, 2016, 05:41:11 PM
OP, What is the plan for the future of this script? whether it will continue to develop it further?
as you see, you've already got the couple proposals for improvement, probably after some time of use this script you will see the opportunities and ideas for improvement opportunities.
if someone wants to invest in PTC site with your script, he need to know it will have the support of you.


Title: Re: Source code - PTC Website
Post by: K128kevin2 on January 14, 2016, 07:10:32 PM
ahhh why ever use php???
With PHP you can host a website in devices such as Android, Rasperry PI, PC, Mac, etc.
You can choose the device that most suits your needs  :)

You can do that with most languages, certainly all the major ones used for web dev. You probably want to be running it on a device running Linux anyway. I would highly recommend using Java or go language over php. Go is nice because you can run it on anything just as an executable.


Title: Re: Source code - PTC Website
Post by: ZenJB on January 14, 2016, 10:22:17 PM
OP, What is the plan for the future of this script? whether it will continue to develop it further?
as you see, you've already got the couple proposals for improvement, probably after some time of use this script you will see the opportunities and ideas for improvement opportunities.
if someone wants to invest in PTC site with your script, he need to know it will have the support of you.

I will continue to improve security of this script and add new features. To the next week I'm going to start to check every script for vulnerabilities and I will make some improvements related to performance


Title: Re: Source code - PTC Website
Post by: jmintuck02 on January 14, 2016, 11:56:14 PM
I would like to watch this script. Someday, it could be useful to me. I hope one day it is. I have wondered about

running a site like this and if it takes btc, all the better. I sometimes think about sites like this. I hope I could make

a commission on members who do sign up and do the offers and the ptc's that would be there.


Title: Re: Source code - PTC Website
Post by: ZenJB on January 15, 2016, 03:36:54 PM
ahhh why ever use php???
With PHP you can host a website in devices such as Android, Rasperry PI, PC, Mac, etc.
You can choose the device that most suits your needs  :)

You can do that with most languages, certainly all the major ones used for web dev. You probably want to be running it on a device running Linux anyway. I would highly recommend using Java or go language over php. Go is nice because you can run it on anything just as an executable.
PHP is easier than java and we can host the website using an online host service (Beside the fact that is not recomended)


Title: Re: Source code - PTC Website
Post by: K128kevin2 on January 15, 2016, 03:51:33 PM
ahhh why ever use php???
With PHP you can host a website in devices such as Android, Rasperry PI, PC, Mac, etc.
You can choose the device that most suits your needs  :)

You can do that with most languages, certainly all the major ones used for web dev. You probably want to be running it on a device running Linux anyway. I would highly recommend using Java or go language over php. Go is nice because you can run it on anything just as an executable.
PHP is easier than java and we can host the website using an online host service (Beside the fact that is not recomended)

Well you're entitled to your opinion. Having used both I personally find Java a LOT more intuitive but that is, of course, subjective. Java is definitely faster and more secure though. Php is kind of a dying language tbh. For both options though you would have to use an online hosting service, unless you host it on your own device and use port forwarding. That's what I do for my web server. A lot of ISPs block port 80 though unless you pay extra money, so you may have to specify the port in the URL if you host it that way. I'd recommend a hosting service though.


Title: Re: Source code - PTC Website
Post by: ZenJB on January 16, 2016, 07:44:01 PM
Update 1:
-> Implemented Anti SQL-Injection Script
-> Login and Register Script are now using Anti SQL-Injection Script


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: pickupcoin on January 20, 2016, 01:34:40 PM
yet nowhere in the script installs a fully functional online with real users?
what is bndwith server requirements? whether the script can operate without problems on shared hosting?


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: Emerge on January 20, 2016, 01:57:35 PM
yet nowhere in the script installs a fully functional online with real users?
what is bndwith server requirements? whether the script can operate without problems on shared hosting?

Maybe I can setup a small server test this thing out soon when I have a little bit more time for hobbies :)


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: pickupcoin on January 20, 2016, 02:58:30 PM
yet nowhere in the script installs a fully functional online with real users?
what is bndwith server requirements? whether the script can operate without problems on shared hosting?

Maybe I can setup a small server test this thing out soon when I have a little bit more time for hobbies :)

i have reseller shared hosting, and some unused registered domains, and i would like to try how it is work
but also i would like to see that is OP often online, if we needed


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: davien on January 20, 2016, 04:17:47 PM
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


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on January 24, 2016, 12:27:24 AM
Update 2:
-> Fully implemented Anti SQL-Injection on all Scripts
-> Admin Pannel Added (Please note that the Admin pannel is incomplete)


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: davien on January 24, 2016, 09:59:24 AM
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?


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: wdnj on January 24, 2016, 10:48:14 AM
I can launch a demo if needed :)


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: davien on January 24, 2016, 10:50:03 AM
I can launch a demo if needed :)
I would like to give a try if you have some spare time to make it


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on January 24, 2016, 02:46:48 PM
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


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: davien on January 26, 2016, 02:58:33 PM
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


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on January 26, 2016, 08:16:35 PM
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)


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: wowyeahthatsit on January 27, 2016, 05:44:15 AM
sharing is caring   ;)
any demo available ?


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: davien on January 27, 2016, 10:27:07 AM
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?


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on January 27, 2016, 01:06:50 PM
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


Title: Re: Source code - PTC Website
Post by: Digitalbitcoin on January 27, 2016, 02:25:31 PM
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.


Title: Re: Source code - PTC Website
Post by: ZenJB on February 10, 2016, 09:09:27 PM
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


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: creepland on February 14, 2016, 07:55:49 AM
Wow nice. Will try to upload to my website. Lel. :p


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: Emerge on February 14, 2016, 11:15:12 AM
Is this script still being developed?
I would have loved to help if only it wasn't in PHP :(


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 18, 2016, 07:16:59 PM
Update 3:
-> Added feature to add or remove administrators


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: hidden2209 on February 26, 2016, 01:55:21 PM
nyimak  :D :D


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: EdenHazard on February 27, 2016, 07:29:26 AM
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 :D

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  ;D

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 ;D


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 27, 2016, 04:34:19 PM
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 ;D

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.


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: Emerge on February 27, 2016, 06:22:20 PM
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 ;D

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


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 27, 2016, 06:47:05 PM
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 ;D

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
Yes you need a VPS
Btw my script is not using the newest Blockchain API because i'm considering to change to another system if I don't find a way to upgrade the API without the need of a VPS to run my script


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: aoihs00 on February 27, 2016, 10:58:22 PM
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 :D

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  ;D

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 idea, and also thank you for share!


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 28, 2016, 03:53:09 PM
nice idea, and also thank you for share!
Thanks  :D
Sharing is caring  ;D


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: TheGrimm on February 28, 2016, 04:31:13 PM
Have  you gotten any donations yet for this script?  It gets me upset when someone releases something free and gets nothing in return. I may have some bits for you if you have not gotten anything for this.


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 28, 2016, 07:44:51 PM
Have  you gotten any donations yet for this script?  It gets me upset when someone releases something free and gets nothing in return. I may have some bits for you if you have not gotten anything for this.
Until now I haven't received donations


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: TheGrimm on February 28, 2016, 07:51:32 PM
It was not much since I am saving bitcoins myself but I gave a little something.

I hope others will help with donations if they use your script.

It may take a while to send..


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 28, 2016, 08:41:20 PM
It was not much since I am saving bitcoins myself but I gave a little something.

I hope others will help with donations if they use your script.

It may take a while to send..
Thanks I realy apreciate it  :D


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: TheGrimm on February 28, 2016, 08:45:56 PM
Your welcome, I know its a tiny amount but better then nothing :-)

Honestly all these people seem "interested" but keep asking you to do more and more but offer nothing :-(, you should make a donation campaign and once a certain amount is raised you will release a new part/update the script.

No one donates to open source scripts but they are so fast to use it (not talking about your script but in general) its truly sad.


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 28, 2016, 08:57:06 PM
Your welcome, I know its a tiny amount but better then nothing :-)

Honestly all these people seem "interested" but keep asking you to do more and more but offer nothing :-(, you should make a donation campaign and once a certain amount is raised you will release a new part/update the script.

No one donates to open source scripts but they are so fast to use it (not talking about your script but in general) its truly sad.
Unfortunately thats true  :(
I'm working on this script for almost a year and sometimes it gets demotivating to work on this script because I'm spending time that I could have spent on my other projects or doing something else


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: Digitalbitcoin on February 28, 2016, 09:01:18 PM
well give any live demo url working with this script, So that can check accessibility and usability of script.


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on February 28, 2016, 09:07:59 PM
well give any live demo url working with this script, So that can check accessibility and usability of script.
I'm doing that. I'm building my personal website that will have all of my projects and the live demo of this script


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: TheGrimm on February 28, 2016, 09:09:09 PM
Your welcome, I know its a tiny amount but better then nothing :-)

Honestly all these people seem "interested" but keep asking you to do more and more but offer nothing :-(, you should make a donation campaign and once a certain amount is raised you will release a new part/update the script.

No one donates to open source scripts but they are so fast to use it (not talking about your script but in general) its truly sad.
Unfortunately thats true  :(
I'm working on this script for almost a year and sometimes it gets demotivating to work on this script because I'm spending time that I could have spent on my other projects or doing something else

Yea maybe just move on something else, This is not worth it, I had a few great ideas to start some much needed scripts (open source) but after looking at so many projects that been up over 1 year and receive 0 donations I decided not to, although I agree open source is good and much needed but I personally can not dedicate time on something that will give me 0 value long term you know.

I personally think it will be best if you work on something which will be profitable.

Although I know open source is basically this way (not just bitcoin related) (openssh got $3k in one year and its the most used protocol) and its hard to sell scripts due to people right away steal/pirate as soon as you start listing it for sale.


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on March 01, 2016, 07:54:00 PM
Your welcome, I know its a tiny amount but better then nothing :-)

Honestly all these people seem "interested" but keep asking you to do more and more but offer nothing :-(, you should make a donation campaign and once a certain amount is raised you will release a new part/update the script.

No one donates to open source scripts but they are so fast to use it (not talking about your script but in general) its truly sad.
Unfortunately thats true  :(
I'm working on this script for almost a year and sometimes it gets demotivating to work on this script because I'm spending time that I could have spent on my other projects or doing something else

Yea maybe just move on something else, This is not worth it, I had a few great ideas to start some much needed scripts (open source) but after looking at so many projects that been up over 1 year and receive 0 donations I decided not to, although I agree open source is good and much needed but I personally can not dedicate time on something that will give me 0 value long term you know.

I personally think it will be best if you work on something which will be profitable.

Although I know open source is basically this way (not just bitcoin related) (openssh got $3k in one year and its the most used protocol) and its hard to sell scripts due to people right away steal/pirate as soon as you start listing it for sale.
I think I will move on. This project became a waste of daily time
I have just some more updates ready to be released just to finish the admin pannel


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on March 09, 2016, 08:12:55 PM
Update 4:
Official Website Launched: http://zenjb.tk/livedemo/TXZoneScript/


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: tommorisonwebdesign on March 09, 2016, 08:43:25 PM
Sharing is caring! I feel like making some contributions to the PTC script. I haven't looked at the source yet but I like your idea of launching this as a public open source project available on GitHub.


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: ZenJB on March 10, 2016, 01:08:38 PM
Sharing is caring! I feel like making some contributions to the PTC script. I haven't looked at the source yet but I like your idea of launching this as a public open source project available on GitHub.
Thanks  ;)
I apreciate it! I realy need some help to develop the new payment system  :P


Title: Re: Source code - PTC Website that uses Bitcoin
Post by: kevinex on March 17, 2016, 12:04:24 AM
nice script its not ptc model but traffic exchange.. ::)
i try create site with you script, i have problem in view page, i try put 5 different site but view page not random(rotator),
10 time view same site  :o


Title: Re: Source code - trafic exchange Website that uses Bitcoin
Post by: ZenJB on March 17, 2016, 04:15:49 PM
I have noticed already the bug and I've made a fix that is already present on the next update

The script chooses the website using a PHP function named rand() to generate a random number that matches with a website. The PHP function is the cause of the bug, because, sometimes it generates the same number making the same website to be viewed


Title: Re: Source code - trafic exchange Website that uses Bitcoin
Post by: tyz on March 17, 2016, 05:53:00 PM
Could you please add to script to github or a similar platform. I found two bugs which I want to hand in or at least report. A bug tracker would be a good thing. Github offers such a tool.


Title: Re: Source code - trafic exchange Website that uses Bitcoin
Post by: ZenJB on March 17, 2016, 06:57:29 PM
Could you please add to script to github or a similar platform. I found two bugs which I want to hand in or at least report. A bug tracker would be a good thing. Github offers such a tool.
It's on GitHub the Source Code