Bitcoin Forum
May 11, 2024, 06:27:54 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 9948 times)
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 23, 2015, 09:56:15 PM
Last edit: April 23, 2015, 11:37:25 PM by phpfaucet.org
 #41

Good day, phpfaucet.org,

The first thing we noticed, while were looking through your code is that you use "SELECT *" sql statement, which is considered to be the bad practice. We have also mentioned that your DB class isn't a singleton, do you use any design patterns?

Sorry for delay, you are right. design pattern can be useful for script performance but I didn't use it. I worked on necessary features. its an opensource project dude, join me and participate in development.
1715452074
Hero Member
*
Offline Offline

Posts: 1715452074

View Profile Personal Message (Offline)

Ignore
1715452074
Reply with quote  #2

1715452074
Report to moderator
1715452074
Hero Member
*
Offline Offline

Posts: 1715452074

View Profile Personal Message (Offline)

Ignore
1715452074
Reply with quote  #2

1715452074
Report to moderator
1715452074
Hero Member
*
Offline Offline

Posts: 1715452074

View Profile Personal Message (Offline)

Ignore
1715452074
Reply with quote  #2

1715452074
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715452074
Hero Member
*
Offline Offline

Posts: 1715452074

View Profile Personal Message (Offline)

Ignore
1715452074
Reply with quote  #2

1715452074
Report to moderator
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 23, 2015, 11:32:12 PM
 #42

Important Update

I made some changes for bitcoin faucets, to prevent from paying high fees for send to bitcoin addresses. admin can set minimum queue in setting and whenever number of withdrawal requests reached to this number. cron_withdrawal.php send payments to bitcoin addresses.

This feature allow you to pay one miner fee for multiple payments. also the fees will not deducted when user want to withdrawal.

you can download project from github and make a fresh installation but if your script is running now, follow the update instruction :

How to update

1. Run this query on your database
Code:
INSERT INTO 'tbl_config' (
'config_id' ,
'header' ,
'value'
)
VALUES (
NULL , 'requestcount', '10'
);

2. Update these files.

Code:
admcenter/setting.php
cron_withdrawal.php
includes/AsmoneyAPI.php
withdrawal.php


ciocgun
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


View Profile WWW
April 24, 2015, 07:56:10 AM
 #43

Important Update

I made some changes for bitcoin faucets, to prevent from paying high fees for send to bitcoin addresses. admin can set minimum queue in setting and whenever number of withdrawal requests reached to this number. cron_withdrawal.php send payments to bitcoin addresses.

This feature allow you to pay one miner fee for multiple payments. also the fees will not deducted when user want to withdrawal.


I see you're creating a very good script, I'll give you a try and install the code in local and do some tests to verify if it works better than my actual on microwallet.

hoop
Legendary
*
Offline Offline

Activity: 1523
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
April 24, 2015, 01:28:35 PM
 #44

@ phpfaucet.org please reply my pm Smiley

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


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


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


        ▄█████▄
      ▄█████████
     ████    ███▌
    ███       ██▌
   ▐██ ███  ████
   ▄███████████
  ███████████▀
 ████  ███ ██▌
▐██       ███
▐███    ████
 █████████▀
  ▀█████▀
██
██
██
██
██
██
██
██
██
██
██
██
ANN         Discord
Twitter    Telegram
Nobt-plataform
tyz
Legendary
*
Offline Offline

Activity: 3360
Merit: 1531



View Profile
April 24, 2015, 06:24:02 PM
 #45

I don't want to run a bitcoin node extra for the faucet. Is there a way to request the API of an exchange (e.g. Cryptsy) in order to withdraw the bitcoins or alts over it?
BlackWasp
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile WWW
April 27, 2015, 10:33:44 AM
 #46

Great project, thank you very much!

I am running into a problem installing on my server.

Running: <mydomain>/faucet-master/install.php

There was an error running the query [Duplicate entry '1' for key 'PRIMARY']

Can I contact you via pm please?
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 28, 2015, 09:37:15 AM
 #47

I don't want to run a bitcoin node extra for the faucet. Is there a way to request the API of an exchange (e.g. Cryptsy) in order to withdraw the bitcoins or alts over it?

You don't need to run a bitcoin node for faucet, payment hanldle by AsMoney for bitcoin and altcoins.

phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 28, 2015, 09:38:29 AM
 #48

Great project, thank you very much!

I am running into a problem installing on my server.

Running: <mydomain>/faucet-master/install.php

There was an error running the query [Duplicate entry '1' for key 'PRIMARY']

Can I contact you via pm please?

I answered your PM.
BlackWasp
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile WWW
April 29, 2015, 12:15:54 PM
 #49

Important Update

I made some changes for bitcoin faucets, to prevent from paying high fees for send to bitcoin addresses. admin can set minimum queue in setting and whenever number of withdrawal requests reached to this number. cron_withdrawal.php send payments to bitcoin addresses.

This feature allow you to pay one miner fee for multiple payments. also the fees will not deducted when user want to withdrawal.


I see you're creating a very good script, I'll give you a try and install the code in local and do some tests to verify if it works better than my actual on microwallet.

Hi,

I ran the SQL on my db.

Where do I get updated versions of the PHP files please?

I am trying to test your faucet script on my domain.

Thanks.
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
April 30, 2015, 11:59:37 PM
 #50

Hi,

I ran the SQL on my db.

Where do I get updated versions of the PHP files please?

I am trying to test your faucet script on my domain.

Thanks.


new files published in github, https://github.com/phpfaucet/faucet
BlackWasp
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile WWW
May 01, 2015, 09:15:28 AM
 #51

Thanks, I uploaded the new files. My admin area works fine.

When I try to register from the index.php page, I get the following error:

Parse error: syntax error, unexpected '"header.php"' (T_CONSTANT_ENCAPSED_STRING) in /home/firstbuk/public_html/faucet-master/register.php on line 1

any ideas?
tyz
Legendary
*
Offline Offline

Activity: 3360
Merit: 1531



View Profile
May 01, 2015, 10:48:25 AM
 #52

I downloaded the script and gonna install it on my server. I'll implement a API to an exchange with low fees in order to pay the BTC from there.

Thanks, I uploaded the new files. My admin area works fine.

When I try to register from the index.php page, I get the following error:

Parse error: syntax error, unexpected '"header.php"' (T_CONSTANT_ENCAPSED_STRING) in /home/firstbuk/public_html/faucet-master/register.php on line 1

any ideas?
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 07, 2015, 05:24:52 AM
 #53

Thanks, I uploaded the new files. My admin area works fine.

When I try to register from the index.php page, I get the following error:

Parse error: syntax error, unexpected '"header.php"' (T_CONSTANT_ENCAPSED_STRING) in /home/firstbuk/public_html/faucet-master/register.php on line 1

any ideas?


I didn't have such problem in remote machine and my local machine too, what version of PHP you are using?
BlackWasp
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile WWW
May 16, 2015, 01:45:31 PM
 #54

Hi, do you have any idea what could be causing it?
http://faucet.firstforbitcoin.com/register.php
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 27, 2015, 08:07:27 AM
 #55

Hi, do you have any idea what could be causing it?
http://faucet.firstforbitcoin.com/register.php

Whats the php version of you are using?
phpfaucet.org (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 27, 2015, 08:09:46 AM
 #56

New Update


I added a form validator to check currency account and crypto address. please pay attention set minimum withdrawal from admin area for both AsMoney and crypticoins.


A new website that using my faucet

let me introduce a new website that use phpfaucet script :

http://getfreecoin.com

this is a good pattern for creating an online faucet.
hoop
Legendary
*
Offline Offline

Activity: 1523
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
May 31, 2015, 02:07:07 PM
 #57

Some notes :

- AsMoney Password and AsMoney Password SCI not Hashed at mysql

- Everytime I add GoogleAnalytics script before and after Head tag  got many error

- There error with ads shown

- Why user can't buy links ads direct from his balance , set text beside his links and a period for this ads

- To be all this available at admin panel Smiley
 

            ██████████  ██████████▄▄
         █████████████  ██████████████▄▄
   ▄███  █████▄                  ▀▀███████▄
  ██████   ▀█████▄          ████     ▀▀█████
 █████        ▀█████▄       ████        █████
 ████            ▀████      ████         ████
 ████         ██▄   ▀█  ██▄ ████         ████
 ████▌        █████▄    ████████        ▐████
 ▐████        ████████    ▀█████        ████▌
  █████       ████ ▀██  █▄   ▀██       █████
   █████      ████      ████▄         █████
    █████▄    ████       ▀█████▄    ▄█████
     ▀█████▄  ████          ▀█████▄   ██▀
       ▀█████▄                 ▀█████
         ▀██████▄▄          ▄▄██████▀
            ▀▀████████  ████████▀▀
                ▀▀████  ████▀▀
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
June 14, 2015, 09:16:31 AM
 #58

Some notes :

- AsMoney Password and AsMoney Password SCI not Hashed at mysql

- Everytime I add GoogleAnalytics script before and after Head tag  got many error

- There error with ads shown

- Why user can't buy links ads direct from his balance , set text beside his links and a period for this ads

- To be all this available at admin panel Smiley
 

Sorry for delay, I am so busy in these days.

I will encrypt passwords in next version but if you use secure web server don't worry about this.

use <literal> tag  for add javascript like google analytics. <literal> enter javascript code </literal>

What error exist in ads ? may be your ads is in javascript and you didn't use literal tag.
hanomnom
Member
**
Offline Offline

Activity: 294
Merit: 11


View Profile
June 14, 2015, 11:33:58 AM
 #59

This is something like what I have been looking for. Thanks very much. I will be sure to download and check this out.
hoop
Legendary
*
Offline Offline

Activity: 1523
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
August 22, 2015, 12:26:54 PM
 #60

I make backup for files and DB.

our server was under maintenance. I uploaded these backups when maintenance completed but got these errors.

logo for this site http://getdogecoin.ga Show for a sec then disappears.


error message for this site http://getdogecoin.ml

Code:
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "template/header.tpl" on line 1 " in /var/www/virtual/getdogecoin.ml/htdocs/includes/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 1 

I deleted Smarty folder and re-uploaded it, but same error.

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


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


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


        ▄█████▄
      ▄█████████
     ████    ███▌
    ███       ██▌
   ▐██ ███  ████
   ▄███████████
  ███████████▀
 ████  ███ ██▌
▐██       ███
▐███    ████
 █████████▀
  ▀█████▀
██
██
██
██
██
██
██
██
██
██
██
██
ANN         Discord
Twitter    Telegram
Nobt-plataform
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!