Bitcoin Forum
October 20, 2017, 06:44:30 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: [ANN] Simple Open Source BitCoin Faucet  (Read 11413 times)
BTCnewbie
Newbie
*
Offline Offline

Activity: 28


View Profile
May 25, 2013, 10:33:54 AM
 #21

I've downloaded the MySQL server and I have to command line client, how do I use it?  Do you know any guides/tutorials?  Smiley
Why do you install the MySQL Server on your PC? That is not necassary. You need to have a webhost which allows you to create a MySQL database. For example host-ed.me

I'll this this script a try. Looks good
Thanks dude ^^

OK, I have installed it at http://easybitcoinsfree.com/faucet.php
Install was smooth enough, but seems to be a few things missing. Such as the menu, ads, donate section etc. Are you sharing the exact same source code as you have on your http://bitcoininformation.appspot.com/faucet/ site? If not, would you mind sharing the faucet.php source code you are using? I'd like to have the menu etc too.

I have recaptcha etc setup too but I'm assuming the option to request coins is not there because the wallet is empty, is that right?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508525070
Hero Member
*
Offline Offline

Posts: 1508525070

View Profile Personal Message (Offline)

Ignore
1508525070
Reply with quote  #2

1508525070
Report to moderator
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1596


Verified awesomeness ✔


View Profile WWW
May 25, 2013, 11:11:20 AM
 #22

I've downloaded the MySQL server and I have to command line client, how do I use it?  Do you know any guides/tutorials?  Smiley
Why do you install the MySQL Server on your PC? That is not necassary. You need to have a webhost which allows you to create a MySQL database. For example host-ed.me

I'll this this script a try. Looks good
Thanks dude ^^

OK, I have installed it at http://easybitcoinsfree.com/faucet.php
Install was smooth enough, but seems to be a few things missing. Such as the menu, ads, donate section etc. Are you sharing the exact same source code as you have on your http://bitcoininformation.appspot.com/faucet/ site? If not, would you mind sharing the faucet.php source code you are using? I'd like to have the menu etc too.

I have recaptcha etc setup too but I'm assuming the option to request coins is not there because the wallet is empty, is that right?
The menu and the donate function are indeed removed. Just like some more functions which I like the keep private. Its not hard to recreate though.

And you are right. The request option only shows up when there is 0.01 BTC or more in the wallet. But you can change that value if you want. Just search for "< 0.01"

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
BTCnewbie
Newbie
*
Offline Offline

Activity: 28


View Profile
May 25, 2013, 07:08:40 PM
 #23

I've managed to get a half decent looking version running now. Check it out
http://easybitcoinsfree.com/faucet.php

All I need now is some generous souls to donate a little bitcoin to get it running Smiley

One thing I won't be able to recreate is the affiliate function you have. Do you have any intentions of sharing this at some point?
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1596


Verified awesomeness ✔


View Profile WWW
May 25, 2013, 07:21:52 PM
 #24

I've managed to get a half decent looking version running now. Check it out
http://easybitcoinsfree.com/faucet.php

All I need now is some generous souls to donate a little bitcoin to get it running Smiley

One thing I won't be able to recreate is the affiliate function you have. Do you have any intentions of sharing this at some point?
I told you recreating was easy ;p The affiliate function is quite easy. Do a $_GET on the faucet page or set a cookie with the address. Then just check if there is a cookie, get the address from it with $_COOKIE and do another MySQL query for that address.

EDIT: I would prefer if you did "Credits to: BitCoin Information", instead of just "BitCoin Information". But well, thats your call.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
BTCnewbie
Newbie
*
Offline Offline

Activity: 28


View Profile
May 25, 2013, 07:55:33 PM
 #25

Credits to: all done  Grin

I'm no good with MySql so I'll give it a miss and just do without the affiliate option for now.
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1596


Verified awesomeness ✔


View Profile WWW
May 25, 2013, 08:01:03 PM
 #26

Credits to: all done  Grin

I'm no good with MySql so I'll give it a miss and just do without the affiliate option for now.

If you want to use the cookie option:

Code: (php)
<?php
if($_COOKIE['ref'] != null){
mysql_query("INSERT INTO ".MYSQLBTCTABLE."(id, address, ip, date, time) VALUES('','" $_COOKIE['ref'] . "','REFERRAL', '".date("Y-m-d")."', '".date("H")."')") or die(mysql_error());
}
?>


If you want a plain get:

Code: (php)
<?php
if($_GET['ref'] != null){
mysql_query("INSERT INTO ".MYSQLBTCTABLE."(id, address, ip, date, time) VALUES('','" $_COOKIE['ref'] . "','REFERRAL', '".date("Y-m-d")."', '".date("H")."')") or die(mysql_error());
}
?>


There you go.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
May 25, 2013, 08:04:12 PM
 #27

Credits to: all done  Grin

I'm no good with MySql so I'll give it a miss and just do without the affiliate option for now.

If you want to use the cookie option:

Code: (php)
<?php
if($_COOKIE['ref'] != null){
mysql_query("INSERT INTO ".MYSQLBTCTABLE."(id, address, ip, date, time) VALUES('','" $_COOKIE['ref'] . "','REFERRAL', '".date("Y-m-d")."', '".date("H")."')") or die(mysql_error());
}
?>


If you want a plain get:

Code: (php)
<?php
if($_GET['ref'] != null){
mysql_query("INSERT INTO ".MYSQLBTCTABLE."(id, address, ip, date, time) VALUES('','" $_COOKIE['ref'] . "','REFERRAL', '".date("Y-m-d")."', '".date("H")."')") or die(mysql_error());
}
?>


There you go.

No MySQLI or PDO WOW this is so unsecure please no one use it!

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1596


Verified awesomeness ✔


View Profile WWW
May 25, 2013, 08:11:37 PM
 #28

No MySQLI or PDO WOW this is so unsecure please no one use it!
I was planning to rewrite the script to MySQLI, but it isn't that bad to use MySQL for this.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
May 25, 2013, 08:14:38 PM
 #29

No MySQLI or PDO WOW this is so unsecure please no one use it!
I was planning to rewrite the script to MySQLI, but it isn't that bad to use MySQL for this.

OHHHHH no you deem mysql functions ok for this, then it must be safe.

Dude it is unsecured, end of thread, no use of these functions should be use, PDO is the most secure but myqli is better secure then mysql functions.

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1596


Verified awesomeness ✔


View Profile WWW
May 26, 2013, 01:16:50 AM
 #30

No MySQLI or PDO WOW this is so unsecure please no one use it!
I was planning to rewrite the script to MySQLI, but it isn't that bad to use MySQL for this.

OHHHHH no you deem mysql functions ok for this, then it must be safe.

Dude it is unsecured, end of thread, no use of these functions should be use, PDO is the most secure but myqli is better secure then mysql functions.
Updated my source code to MySQLI. It's is messy, but it works. If you want to, you could help me with the source code.
EDIT: Nvm, not working. Going to look at it later today and I will look PDO up too.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
May 26, 2013, 01:20:49 AM
 #31

No MySQLI or PDO WOW this is so unsecure please no one use it!
I was planning to rewrite the script to MySQLI, but it isn't that bad to use MySQL for this.

OHHHHH no you deem mysql functions ok for this, then it must be safe.

Dude it is unsecured, end of thread, no use of these functions should be use, PDO is the most secure but myqli is better secure then mysql functions.
Updated my source code to MySQLI. It's is messy, but it works. If you want to, you could help me with the source code.

If you want I can sell you my faucet for $900 and you can have all rights to it and open source, most secure faucet software ever, even has an admin panel.

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1596


Verified awesomeness ✔


View Profile WWW
May 26, 2013, 01:24:46 AM
 #32

If you want I can sell you my faucet for $900 and you can have all rights to it and open source, most secure faucet software ever, even has an admin panel.
Why would I want that..?

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
May 26, 2013, 01:28:57 AM
 #33

If you want I can sell you my faucet for $900 and you can have all rights to it and open source, most secure faucet software ever, even has an admin panel.
Why would I want that..?

Cause it is better than what you have, and runs on 3 different faucet sites, and one of them that I co-own that has hack attempts all the time, yet no one has hacked it.

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1596


Verified awesomeness ✔


View Profile WWW
May 26, 2013, 01:35:21 AM
 #34

If you want I can sell you my faucet for $900 and you can have all rights to it and open source, most secure faucet software ever, even has an admin panel.
Why would I want that..?

Cause it is better than what you have, and runs on 3 different faucet sites, and one of them that I co-own that has hack attempts all the time, yet no one has hacked it.
Well, I do not want to spent money on something that is a personal project.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
May 26, 2013, 01:41:43 AM
 #35

If you want I can sell you my faucet for $900 and you can have all rights to it and open source, most secure faucet software ever, even has an admin panel.
Why would I want that..?

Cause it is better than what you have, and runs on 3 different faucet sites, and one of them that I co-own that has hack attempts all the time, yet no one has hacked it.
Well, I do not want to spent money on something that is a personal project.

ok have fun with this mess you call a faucet, and try and use PDO, it is the most secure MYSQL connection in php Wink

P.S. Don't ask for my help when you can pay then you can get my help. I am not a non-profit programmer LOL

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
miffman
Legendary
*
Offline Offline

Activity: 1624


PGP ID: 78B7B84D


View Profile
July 20, 2013, 08:20:09 AM
 #36

would this be fine for a different coin?














 

 

█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
BitBlender 

 













 















 












 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
█ 
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!