Bitcoin Forum

Bitcoin => Project Development => Topic started by: phpfaucet.org on March 27, 2015, 04:16:18 AM



Title: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on March 27, 2015, 04:16:18 AM

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


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: coinableS on March 27, 2015, 03:47:45 PM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: emrebey on March 27, 2015, 04:27:07 PM
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


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on March 27, 2015, 09:38:10 PM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hoop on March 28, 2015, 12:29:00 PM
may i ask you, how user can reset his password? no email address on Register page.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on March 29, 2015, 07:09:09 AM
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.



Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hoop on March 30, 2015, 07:50:56 AM
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


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on March 31, 2015, 02:28:53 PM
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


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: coinpr0n on March 31, 2015, 07:37:12 PM
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!


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: freemind1 on March 31, 2015, 07:44:45 PM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: jimmy01 on April 03, 2015, 11:56:15 AM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hoop on April 03, 2015, 02:10:51 PM
how user can reset his password? in same time don't loss his balance.
migrate from other script


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 03, 2015, 07:31:22 PM
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.



Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 04, 2015, 01:53:14 AM
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

 


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 04, 2015, 08:14:31 AM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 04, 2015, 08:47:19 AM
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




Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 04, 2015, 03:09:09 PM
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

 


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 05, 2015, 01:47:10 PM
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





Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 05, 2015, 06:25:41 PM
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


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 05, 2015, 07:04:41 PM
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


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 06, 2015, 11:05:32 AM
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


1- OK Now

2- Ok Now

3- All them goes for fee

4- like question 3, asmoney get fees for send money to address and 10000 satoshi will equal 0. you should set higher minimum balance for withdrawal to bitcoin address. and you can set any amount for send money to asmoney account.

5- Go to your database, and run this query, I updated installation sql script but you don't need to reinstall if you run the following sql code.

Code:
ALTER TABLE `tbl_user` CHANGE `credit` `credit` DECIMAL( 20, 8 ) NOT NULL ;

6 & 7- admin center paging work for me, please explain more about this.

download updates and publish again,  Thanks for testing my script.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: LOBSTER on April 06, 2015, 11:26:24 AM
Nice project!

It would be great if you could implement a migration for microwallet etc. ;-)

Would that be possible?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 06, 2015, 02:57:04 PM
i will try today

thank you so much

if you can tell me how add java/script on site
like anti adblock its will be perfect

thank you a lot


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 06, 2015, 05:04:28 PM
i will try today

thank you so much

if you can tell me how add java/script on site
like anti adblock its will be perfect

thank you a lot

Your welcome, in html template files open tag {literal} enter javascript code and close literal {/literal} OR put your javascript in a .js file and decleare on head.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 06, 2015, 05:12:38 PM
Nice project!

It would be great if you could implement a migration for microwallet etc. ;-)

Would that be possible?

Good idea, I am not familiar with their script but I will test.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 07, 2015, 10:28:30 AM
Nice project!

It would be great if you could implement a migration for microwallet etc. ;-)

Would that be possible?


I checked microwallet , there is nothing in database for migration. just a username without password. you can install phpfaucet and ask your users to register a new account.




Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 07, 2015, 10:59:47 AM
sir the script work perfect

but some
issues

withdrawal page of admin center showing up 1 page

i have 100 transctions not show all only  1 page ex 10 transactions



Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 07, 2015, 11:55:47 AM
sir the script work perfect

but some
issues

withdrawal page of admin center showing up 1 page

i have 100 transctions not show all only  1 page ex 10 transactions




update admcenter/withdrawal.php, it should work now. I didn't upload and test , please tell me if solved.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 07, 2015, 05:22:23 PM
its work

thank you

but did you make transactions has expair???

if not it will be hard to save to much pages


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 07, 2015, 06:18:03 PM
there is a big problem

when you login with your username

and go to register with another browser

its work with referal

and claim every time in same time

you should be make ip/fillter



Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 08, 2015, 03:20:10 PM
there is a big problem

when you login with your username

and go to register with another browser

its work with referal

and claim every time in same time

you should be make ip/fillter



Update header.php, I put a filter to prevent referral fraud.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: romeox6x on April 08, 2015, 07:52:30 PM
you have very important pm please answer


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: jimmy01 on April 09, 2015, 11:42:54 PM
I am developing my own faucet, your script works perfectly, really thanks for great support


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: ciocgun on April 10, 2015, 02:48:50 PM
Hi there,
this is a fantastic poroject, maybe if you could improve the version with our suggestion could be a very perfect one, and you could receive some bounties.

i've some suggestions:

1)demo login/password for user are is not "Demo" but "demo" correct your homepage
2)If you could add some more altcoins in your platform you could receive lot of bunties from the developers (i could donate you as a birdcoin dev team)
3)Please set up a cronjob setable directly in the backoffice.

Templates/Plugins updater is the limit of microwallet OLD script..

you could attrack lot of people keeping the code update by our suggestions.

I'll follow the thread waiting for a new version


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 12, 2015, 11:28:03 AM
Hi there,
this is a fantastic poroject, maybe if you could improve the version with our suggestion could be a very perfect one, and you could receive some bounties.

i've some suggestions:

1)demo login/password for user are is not "Demo" but "demo" correct your homepage
2)If you could add some more altcoins in your platform you could receive lot of bunties from the developers (i could donate you as a birdcoin dev team)
3)Please set up a cronjob setable directly in the backoffice.

Templates/Plugins updater is the limit of microwallet OLD script..

you could attrack lot of people keeping the code update by our suggestions.

I'll follow the thread waiting for a new version

Hi bro,

1) You are right, account login is demo and fixed on homepage.
2) I don't add want to involve in payments, payments handle by AsMoney and I will add more coins if they add coins.
3) I will setup a programatically cronjob in next verion.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: Webnet on April 12, 2015, 12:00:50 PM
its a very good script, is it possible to use this with an alt, thanks for sharing this.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 12, 2015, 12:57:05 PM
its a very good script, is it possible to use this with an alt, thanks for sharing this.

Thanks, Yes, PHPFaucet support dogecoin, peercoin, litecoin , darkcoin too.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: poordeveloper on April 12, 2015, 06:48:56 PM
Looks great. Are there any faucets already using it?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: ciocgun on April 13, 2015, 09:27:40 AM
Hi there,
this is a fantastic poroject, maybe if you could improve the version with our suggestion could be a very perfect one, and you could receive some bounties.

i've some suggestions:

1)demo login/password for user are is not "Demo" but "demo" correct your homepage
2)If you could add some more altcoins in your platform you could receive lot of bunties from the developers (i could donate you as a birdcoin dev team)
3)Please set up a cronjob setable directly in the backoffice.

Templates/Plugins updater is the limit of microwallet OLD script..

you could attrack lot of people keeping the code update by our suggestions.

I'll follow the thread waiting for a new version

Hi bro,

1) You are right, account login is demo and fixed on homepage.
2) I don't add want to involve in payments, payments handle by AsMoney and I will add more coins if they add coins.
3) I will setup a programatically cronjob in next verion.


2)Sorry i thought you were also the Asmoney owner


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: frogCorporation on April 14, 2015, 07:55:15 PM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 23, 2015, 09:56:15 PM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 23, 2015, 11:32:12 PM
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




Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: ciocgun on April 24, 2015, 07:56:10 AM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hoop on April 24, 2015, 01:28:35 PM
@ phpfaucet.org please reply my pm :)


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: tyz on April 24, 2015, 06:24:02 PM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: BlackWasp on April 27, 2015, 10:33:44 AM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 28, 2015, 09:37:15 AM
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.



Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 28, 2015, 09:38:29 AM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: BlackWasp on April 29, 2015, 12:15:54 PM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on April 30, 2015, 11:59:37 PM
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


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: BlackWasp on May 01, 2015, 09:15:28 AM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: tyz on May 01, 2015, 10:48:25 AM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on May 07, 2015, 05:24:52 AM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: BlackWasp on May 16, 2015, 01:45:31 PM
Hi, do you have any idea what could be causing it?
http://faucet.firstforbitcoin.com/register.php


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on May 27, 2015, 08:07:27 AM
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?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on May 27, 2015, 08:09:46 AM
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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hoop on May 31, 2015, 02:07:07 PM
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 :)
 


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on June 14, 2015, 09:16:31 AM
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 :)
 

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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hanomnom on June 14, 2015, 11:33:58 AM
This is something like what I have been looking for. Thanks very much. I will be sure to download and check this out.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hoop on August 22, 2015, 12:26:54 PM
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 (http://getdogecoin.ga) Show for a sec then disappears.


error message for this site http://getdogecoin.ml  (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.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: BitHell.io on September 02, 2015, 06:26:56 PM
I have began to test this script for my faucet, on a subdomain first.
Everything seems to be working okay, all but the cron_withdrawal script.

When I run it manually, it only shows a blank page. No errors in the logs, nothing.

Anyone knows why is that?

I must mention I have added the AsMoney API's and everything else.

Anything to do with my host? Do I need to edit my php.ini ?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: mari88 on September 05, 2015, 12:17:35 AM
i started to test your script install works but now on the register page i see only a blank page


http://yannik.biz/faucet/register.php



can you help me wats wrong?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: tyz on September 05, 2015, 10:10:48 AM
Okay thanks, I did get something wrong.
Then I will test your script when I got some more time. I am currently running a faucetbox Faucet but I am looking for a good alternative.

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.




Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: phpfaucet.org on September 06, 2015, 06:45:08 AM
I have began to test this script for my faucet, on a subdomain first.
Everything seems to be working okay, all but the cron_withdrawal script.

When I run it manually, it only shows a blank page. No errors in the logs, nothing.

Anyone knows why is that?

I must mention I have added the AsMoney API's and everything else.

Anything to do with my host? Do I need to edit my php.ini ?

Please enable error logs and send me the page address via PM.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: xtd5 on April 08, 2016, 02:16:30 PM
Hi phpfaucet,

I want to send payments manually, how can I do that? How can I change pending to Complete if I successfully send the payment?


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: apoorvlathey on April 08, 2016, 02:23:35 PM
Nice design and thanks for making such script.
The Admin area reminds me of epay.info faucet page.


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hunterx on April 09, 2016, 10:16:09 AM
Good job! This is what I've been looking for. Thank you very much. :)


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: NDN24 on May 28, 2016, 05:13:40 PM
Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'u766577606'@'10.2.1.20' (using password: NO) in /home/u766577606/public_html/faucet-master/includes/dbconnector.class.php on line 14
Unable to connect to database [Access denied for user 'u766577606'@'10.2.1.20' (using password: NO)]

How  can i fix this. Help me


Title: Re: OpenSource PHP Faucet for bitcoin and altcoins
Post by: hoop on May 29, 2016, 09:52:26 AM
Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'u766577606'@'10.2.1.20' (using password: NO) in /home/u766577606/public_html/faucet-master/includes/dbconnector.class.php on line 14
Unable to connect to database [Access denied for user 'u766577606'@'10.2.1.20' (using password: NO)]

How  can i fix this. Help me
Add mysql password in faucet-master/includes/dbconnector.class.php