Pages:
Author

Topic: LF> A very basic faucet coder - page 2. (Read 2475 times)

hero member
Activity: 686
Merit: 504
always the student, never the master.
July 08, 2013, 01:57:24 PM
#15
ok diamond cards. open config.php with a text editor and replace line 21 with this

Code:
$rewards = ['1000, 1500, 2000, 2500, 3000, 3500, 4000, 5000'];
hero member
Activity: 686
Merit: 504
always the student, never the master.
July 08, 2013, 01:53:20 PM
#14
Here you go, full featured faucet program. Automated, configurable, referral program, built in ad rotator, IP logging, blah.

http://glados.cc/myfaucet/

code quality is not that bad. it definitely carries the TF signature though.
hero member
Activity: 686
Merit: 504
always the student, never the master.
July 08, 2013, 01:51:48 PM
#13
Parse error: syntax error, unexpected '[' in /home/a2414827/public_html/config.php on line 21

Hmmm.

haha, i can debug tradefortress' faucet script for you. propably something minor
legendary
Activity: 1134
Merit: 1118
July 08, 2013, 01:49:55 PM
#12
Parse error: syntax error, unexpected '[' in /home/a2414827/public_html/config.php on line 21

Hmmm.

Do you need someone to set this up for you? I could do this for you.

Nope.
full member
Activity: 238
Merit: 100
Live Stars - Adult Streaming Platform
July 08, 2013, 01:48:18 PM
#11
Parse error: syntax error, unexpected '[' in /home/a2414827/public_html/config.php on line 21

Hmmm.

Do you need someone to set this up for you? I could do this for you.
legendary
Activity: 1134
Merit: 1118
July 08, 2013, 01:24:31 PM
#10
Parse error: syntax error, unexpected '[' in /home/a2414827/public_html/config.php on line 21

Hmmm.
legendary
Activity: 1134
Merit: 1118
July 08, 2013, 11:15:57 AM
#9
Here you go, full featured faucet program. Automated, configurable, referral program, built in ad rotator, IP logging, blah.

http://glados.cc/myfaucet/

Eh, it'll do. Thanks. Tongue
full member
Activity: 238
Merit: 100
Live Stars - Adult Streaming Platform
July 08, 2013, 08:41:41 AM
#8
Here you go, full featured faucet program. Automated, configurable, referral program, built in ad rotator, IP logging, blah.

http://glados.cc/myfaucet/

It's in PHP he has some aversion to PHP.
vip
Activity: 1316
Merit: 1043
👻
July 08, 2013, 01:45:13 AM
#7
Here you go, full featured faucet program. Automated, configurable, referral program, built in ad rotator, IP logging, blah.

http://glados.cc/myfaucet/
legendary
Activity: 1134
Merit: 1118
July 07, 2013, 11:52:29 PM
#6
You probably should be using API sending functions (instead of getting carpal tunnel syndrome for repetitive data entry).

There's going to be a cap + I can handle carpal tunnel syndrome anyway.

Also require a reCAPTCHA and limit IPs.

Nah, I don't need to.

vip
Activity: 1316
Merit: 1043
👻
July 07, 2013, 08:31:22 PM
#5
You probably should be using API sending functions (instead of getting carpal tunnel syndrome for repetitive data entry). Also require a reCAPTCHA and limit IPs.
full member
Activity: 238
Merit: 100
Live Stars - Adult Streaming Platform
July 07, 2013, 04:17:54 PM
#4
Something like this should work I am not at home so I have not tested it but this is the general idea.


Looking more for PURE HTML/ASP.

Something along the lines of this should work. I am still not home so it is untested.

index.html
Code:
        

Form





address











handler.asp
Code:
	<%

        dim address
address = Request.Form("address")

        Dim OpenFileobj
        Dim FSOobj
        Dim pathToAddressFile

        pathToAddressFile = Server.MapPath("allAddresses.txt")

        Set FSOobj = Server.CreateObject("Scripting.FileSystemObject")
        Set OpenFileobj = FSOobj.OpenTextFile(pathToAddressFile, Appending)

        OpenFileobj.WriteLine(address)
        OpenFileobj.Close

        %>


Form




<% Response.Write address %> has been submitted




Hope this helps
legendary
Activity: 1134
Merit: 1118
July 07, 2013, 04:10:51 PM
#3
Something like this should work I am not at home so I have not tested it but this is the general idea.

Code:

if( isset($_POST['address']) )
{
/*
This is probably what you are looking for here
*/
$address htmlspecialchars($_POST["address"])
$file "readable.txt";
$f fopen($file'a');
fwrite($f$address PHP_EOL);
fclose($f);
/*
This is probably what you are looking for here
*/
echo 'address submitted';
} else {
echo 
'PHP_SELF']);?>" method="post">
 

Address


 


';
}

?>

Looking more for PURE HTML/ASP.
full member
Activity: 238
Merit: 100
Live Stars - Adult Streaming Platform
July 07, 2013, 04:02:27 PM
#2
Something like this should work I am not at home so I have not tested it but this is the general idea.

Code:

if( isset($_POST['address']) )
{
/*
This is probably what you are looking for here
*/
$address htmlspecialchars($_POST["address"])
$file "readable.txt";
$f fopen($file'a');
fwrite($f$address PHP_EOL);
fclose($f);
/*
This is probably what you are looking for here
*/
echo 'address submitted';
} else {
echo 
'PHP_SELF']);?>" method="post">
 

Address


 


';
}

?>
legendary
Activity: 1134
Merit: 1118
July 07, 2013, 03:39:28 PM
#1
Your mission, should you choose to accept it:

Tell me how I can make an input box with a Submit button, then have the information from this put into a read-able .asp or .txt file (on a webserver/site). Literally. That's it. This will be for an inputs.io faucet, all the other design will be handled by me.

Your reward:

All CoinURL advertisement revenue for the first week. There will be 2 CoinURL banner slots - as this as a faucet, it will attract decent traffic and bring in decent revenue.

First to PM me with the code and tutorial gets it. I KNOW this is really simple - I've just forgotten the code needed.
Pages:
Jump to: