Bitcoin Forum
May 04, 2024, 07:05:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: OpenSource PHP Faucet for bitcoin and altcoins  (Read 9943 times)
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 27, 2015, 04:16:18 AM
 #1


I developed an open source php script, everybody can run his own own faucet easily.

Faucet payments handle through https://www.asmoney.com , so you can create a Bitcoin faucet, dogecoin faucet, darkcoin faucet, peercoin faucet and litecoin faucet by changing currency in website setting.


Support Solvemedia captcha
No daemon required - payments handle by AsMoney
Support Referral Program
Template and PHP files are separated and changing template is easy
Support multiple admin
Accept donate
Manual/automatic withdrawal


I am working on it to create new updates and improve the software, if you are a webmaster use this software and enjoy, if you are PHP programmer, join me and participate in development.


Project published on github : https://github.com/phpfaucet/faucet

Official site : http://phpfaucet.org
1714849529
Hero Member
*
Offline Offline

Posts: 1714849529

View Profile Personal Message (Offline)

Ignore
1714849529
Reply with quote  #2

1714849529
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714849529
Hero Member
*
Offline Offline

Posts: 1714849529

View Profile Personal Message (Offline)

Ignore
1714849529
Reply with quote  #2

1714849529
Report to moderator
coinableS
Legendary
*
Offline Offline

Activity: 1442
Merit: 1179



View Profile WWW
March 27, 2015, 03:47:45 PM
 #2

Really nice domain you got there: phpfaucet.org

I dug through a few of the pages and code quality looks solid and secure using prepared statements and mysqli. Nice job!  I'll have to test it out when I have more time.

emrebey
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
March 27, 2015, 04:27:07 PM
 #3

Really nice domain you got there: phpfaucet.org

I dug through a few of the pages and code quality looks solid and secure using prepared statements and mysqli. Nice job!  I'll have to test it out when I have more time.

no offence to OP, that's a really nice move to create stuff open-source but this kind of things should be managed from config files, not hardcoded.

https://github.com/phpfaucet/faucet/blob/master/cron_withdrawal.php#L7
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 27, 2015, 09:38:10 PM
 #4

Really nice domain you got there: phpfaucet.org

I dug through a few of the pages and code quality looks solid and secure using prepared statements and mysqli. Nice job!  I'll have to test it out when I have more time.

no offence to OP, that's a really nice move to create stuff open-source but this kind of things should be managed from config files, not hardcoded.

https://github.com/phpfaucet/faucet/blob/master/cron_withdrawal.php#L7


Thanks coinableS, I tried to create usable software.

Dear emrebey, Its not hardcoded, API data read from database. Just currencies has been hardcoded because I haven't plan to add more currencies. if asmoney add a new currency, I will change it in next version.
hoop
Legendary
*
Offline Offline

Activity: 1523
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
March 28, 2015, 12:29:00 PM
 #5

may i ask you, how user can reset his password? no email address on Register page.

            ██████████  ██████████▄▄
         █████████████  ██████████████▄▄
   ▄███  █████▄                  ▀▀███████▄
  ██████   ▀█████▄          ████     ▀▀█████
 █████        ▀█████▄       ████        █████
 ████            ▀████      ████         ████
 ████         ██▄   ▀█  ██▄ ████         ████
 ████▌        █████▄    ████████        ▐████
 ▐████        ████████    ▀█████        ████▌
  █████       ████ ▀██  █▄   ▀██       █████
   █████      ████      ████▄         █████
    █████▄    ████       ▀█████▄    ▄█████
     ▀█████▄  ████          ▀█████▄   ██▀
       ▀█████▄                 ▀█████
         ▀██████▄▄          ▄▄██████▀
            ▀▀████████  ████████▀▀
                ▀▀████  ████▀▀
Take care of your financial privacy
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
A blockchain loyalty scheme and more
██
██
██
██
██
██
██
██
██
██
██
██


███████████████
███          ██████████████████
████████████████████████████████
███                          ███
███                          ███
███             ██           ███
███       ██   ██   ██       ███
███      ██    ██    ██      ███
███       ██  ██    ██       ███
███                          ███
███                          ███
████████████████████████████████


           ████    ████
       █████████ ████████
                           
████████████████████████████
█████████████████████████████
██████████████████
██████████████████ ███████████
██████████████████ ██    █████
██████████████████ ███████████
██████████████████
█████████████████████████████
████████████████████████████


        ▄█████▄
      ▄█████████
     ████    ███▌
    ███       ██▌
   ▐██ ███  ████
   ▄███████████
  ███████████▀
 ████  ███ ██▌
▐██       ███
▐███    ████
 █████████▀
  ▀█████▀
██
██
██
██
██
██
██
██
██
██
██
██
ANN         Discord
Twitter    Telegram
Nobt-plataform
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 29, 2015, 07:09:09 AM
 #6

may i ask you, how user can reset his password? no email address on Register page.

usually faucets doesn't ask email address of players. I didn't get email address too. If someone forget his password, he can create a new account in 3 seconds.

hoop
Legendary
*
Offline Offline

Activity: 1523
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
March 30, 2015, 07:50:56 AM
 #7

may i ask you, how user can reset his password? no email address on Register page.

usually faucets doesn't ask email address of players. I didn't get email address too. If someone forget his password, he can create a new account in 3 seconds.


what about his balance.
also Doge missing just mDoge

            ██████████  ██████████▄▄
         █████████████  ██████████████▄▄
   ▄███  █████▄                  ▀▀███████▄
  ██████   ▀█████▄          ████     ▀▀█████
 █████        ▀█████▄       ████        █████
 ████            ▀████      ████         ████
 ████         ██▄   ▀█  ██▄ ████         ████
 ████▌        █████▄    ████████        ▐████
 ▐████        ████████    ▀█████        ████▌
  █████       ████ ▀██  █▄   ▀██       █████
   █████      ████      ████▄         █████
    █████▄    ████       ▀█████▄    ▄█████
     ▀█████▄  ████          ▀█████▄   ██▀
       ▀█████▄                 ▀█████
         ▀██████▄▄          ▄▄██████▀
            ▀▀████████  ████████▀▀
                ▀▀████  ████▀▀
Take care of your financial privacy
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
A blockchain loyalty scheme and more
██
██
██
██
██
██
██
██
██
██
██
██


███████████████
███          ██████████████████
████████████████████████████████
███                          ███
███                          ███
███             ██           ███
███       ██   ██   ██       ███
███      ██    ██    ██      ███
███       ██  ██    ██       ███
███                          ███
███                          ███
████████████████████████████████


           ████    ████
       █████████ ████████
                           
████████████████████████████
█████████████████████████████
██████████████████
██████████████████ ███████████
██████████████████ ██    █████
██████████████████ ███████████
██████████████████
█████████████████████████████
████████████████████████████


        ▄█████▄
      ▄█████████
     ████    ███▌
    ███       ██▌
   ▐██ ███  ████
   ▄███████████
  ███████████▀
 ████  ███ ██▌
▐██       ███
▐███    ████
 █████████▀
  ▀█████▀
██
██
██
██
██
██
██
██
██
██
██
██
ANN         Discord
Twitter    Telegram
Nobt-plataform
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 31, 2015, 02:28:53 PM
 #8

may i ask you, how user can reset his password? no email address on Register page.

usually faucets doesn't ask email address of players. I didn't get email address too. If someone forget his password, he can create a new account in 3 seconds.


what about his balance.
also Doge missing just mDoge

Thanks for attention, update admcenter/setting.php
coinpr0n
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
March 31, 2015, 07:37:12 PM
 #9

Looks very handy. Will be useful to anyone who wants to set up a faucet on PHP hosting. The only thing I've never heard of is asmoney.com - that could be my fault. Great work!

freemind1
Legendary
*
Offline Offline

Activity: 1526
Merit: 1014


View Profile
March 31, 2015, 07:44:45 PM
 #10

Interesting project guys, i've been testing the demo and admin panel is very intuitive and easy to use. You doing an amazing job, thank you very much.
jimmy01
Member
**
Offline Offline

Activity: 106
Merit: 10


View Profile
April 03, 2015, 11:56:15 AM
 #11

Thanks for sharing this, Your script is so great, better than all of other faucet codes. I installed it and I want to know about withdrawal, how can I pay withdrawal automatically?
hoop
Legendary
*
Offline Offline

Activity: 1523
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
April 03, 2015, 02:10:51 PM
Last edit: April 03, 2015, 02:21:12 PM by hoop
 #12

how user can reset his password? in same time don't loss his balance.
migrate from other script

            ██████████  ██████████▄▄
         █████████████  ██████████████▄▄
   ▄███  █████▄                  ▀▀███████▄
  ██████   ▀█████▄          ████     ▀▀█████
 █████        ▀█████▄       ████        █████
 ████            ▀████      ████         ████
 ████         ██▄   ▀█  ██▄ ████         ████
 ████▌        █████▄    ████████        ▐████
 ▐████        ████████    ▀█████        ████▌
  █████       ████ ▀██  █▄   ▀██       █████
   █████      ████      ████▄         █████
    █████▄    ████       ▀█████▄    ▄█████
     ▀█████▄  ████          ▀█████▄   ██▀
       ▀█████▄                 ▀█████
         ▀██████▄▄          ▄▄██████▀
            ▀▀████████  ████████▀▀
                ▀▀████  ████▀▀
Take care of your financial privacy
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
A blockchain loyalty scheme and more
██
██
██
██
██
██
██
██
██
██
██
██


███████████████
███          ██████████████████
████████████████████████████████
███                          ███
███                          ███
███             ██           ███
███       ██   ██   ██       ███
███      ██    ██    ██      ███
███       ██  ██    ██       ███
███                          ███
███                          ███
████████████████████████████████


           ████    ████
       █████████ ████████
                           
████████████████████████████
█████████████████████████████
██████████████████
██████████████████ ███████████
██████████████████ ██    █████
██████████████████ ███████████
██████████████████
█████████████████████████████
████████████████████████████


        ▄█████▄
      ▄█████████
     ████    ███▌
    ███       ██▌
   ▐██ ███  ████
   ▄███████████
  ███████████▀
 ████  ███ ██▌
▐██       ███
▐███    ████
 █████████▀
  ▀█████▀
██
██
██
██
██
██
██
██
██
██
██
██
ANN         Discord
Twitter    Telegram
Nobt-plataform
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 03, 2015, 07:31:22 PM
 #13

Thanks for sharing this, Your script is so great, better than all of other faucet codes. I installed it and I want to know about withdrawal, how can I pay withdrawal automatically?

Thanks, you can pay withdrawal manually or set a cronjob on your hosting to browse cron_withdrawal.php after each specified time.

romeox6x
Member
**
Offline Offline

Activity: 183
Merit: 10


View Profile
April 04, 2015, 01:53:14 AM
 #14

Thanks for sharing this, Your script is so great, better than all of other faucet codes. I installed it and I want to know about withdrawal, how can I pay withdrawal automatically?

Thanks, you can pay withdrawal manually or set a cronjob on your hosting to browse cron_withdrawal.php after each specified time.



howcan i set cornjob?

not all people have experience with php

 
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 04, 2015, 08:14:31 AM
Last edit: April 04, 2015, 08:50:20 AM by phpfaucet.org
 #15

how user can reset his password? in same time don't loss his balance.
migrate from other script

I didn't make a reset password for faucet yet, I didn't want to ask email address. I will make a reset password page and update script soon.
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 04, 2015, 08:47:19 AM
 #16

Thanks for sharing this, Your script is so great, better than all of other faucet codes. I installed it and I want to know about withdrawal, how can I pay withdrawal automatically?

Thanks, you can pay withdrawal manually or set a cronjob on your hosting to browse cron_withdrawal.php after each specified time.



howcan i set cornjob?

not all people have experience with php

 

there is no need to php knowledge for running cronjob, If you are using control panel like CPANEL:

http://www.youtube.com/watch?v=ZAbefcWLxrw

just change path according to your hosting. other control panel has same process. if you are using terminal :

Code:
$ crontab -e
$ 0 * * * * /usr/bin/php /www/virtual/username/faucetscript/cron_withdrawal.php > /dev/null 2>&1

This cron job will run at minute zero, every hour . attention to change this path "/www/virtual/username/faucetscript/cron_withdrawal.php"

Take a look to this link for set different time : http://code.tutsplus.com/tutorials/scheduling-tasks-with-cron-jobs--net-8800


romeox6x
Member
**
Offline Offline

Activity: 183
Merit: 10


View Profile
April 04, 2015, 03:09:09 PM
 #17

when you use satoshi with asmoney

and browse corn

you get

Currency is not valid

-----
when select currency nothing you get
-----
when you put mBTC and put prize 0.5 mBTC
its get in balance 1mBTC

if you put 0.05mBTC
ITS GET balance 0.0

 
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 05, 2015, 01:47:10 PM
 #18

when you use satoshi with asmoney

and browse corn

you get

Currency is not valid

-----
when select currency nothing you get
-----
when you put mBTC and put prize 0.5 mBTC
its get in balance 1mBTC

if you put 0.05mBTC
ITS GET balance 0.0

 


problems solved, download cron_withdrawal.php and update your script. withdrawal should work fine now. I solved some bug in following files.

Quote
withdrawal.php
cron_withdrawal.php
register.php
templates/register.tpl
templates/withdrawal.tpl



romeox6x
Member
**
Offline Offline

Activity: 183
Merit: 10


View Profile
April 05, 2015, 06:25:41 PM
Last edit: April 05, 2015, 07:29:46 PM by romeox6x
 #19

thank you sir

but there is same problems

1-when you put your currency satoshi at admcenter you balance in dashboard will be (0).
2-when you send 10000 satoshi with AsMoney its will be( 1 mBTC)
3-when you send 10000 satoshi with BTC  address its show up( 0 pending)
4-when you send 10000 satoshi with Btc  address you will get in cron (Currency is not valid)
5-when you put your currency mBTC at dashboard setting and put prize 0.005 mBTC and go
to your withdrawal page you will get your balance is( 0).
6-Withdrawals & donate pages at admcenter showing 1 page only no more
7-Withdrawals & donate pages at user center showing 1 page of transactions only


thats all for now

im so sorry but i want to use your script really

thank your for your support
romeox6x
Member
**
Offline Offline

Activity: 183
Merit: 10


View Profile
April 05, 2015, 07:04:41 PM
Last edit: April 05, 2015, 07:30:22 PM by romeox6x
 #20

thank you sir

but there is same problems

1-when you put your currency satoshi at admcenter you balance in dashboard will be (0).
2-when you send 10000 satoshi with AsMoney its will be( 1 mBTC)
3-when you send 10000 satoshi with BTC  address its show up( 0 pending)
4-when you send 10000 satoshi with Btc  address you will get in cron (Currency is not valid)
5-when you put your currency mBTC at dashboard setting and put prize 0.005 mBTC and go
to your withdrawal page you will get your balance is( 0).
6-Withdrawals & donate pages at admcenter showing 1 page only no more
7-Withdrawals & donate pages at user center showing 1 page of transactions only


thats all for now

im so sorry but i want to use your script really

thank your for your support

yeah i get it now *Bitcoin :  1% + 0.1

bug number 3 its ok
Pages: [1] 2 3 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!