Author

Topic: Bitcoin Businesses and Developers, Let's Get Started! - page 109. (Read 306610 times)

member
Activity: 88
Merit: 10
Hello Everyone!

Just wrote a tiny debug/info script based on the class found here:
https://bitcointalksearch.org/topic/bitcoin-php-open-source-9304

Its basically just a script witch shows this in your web browser, for example:
Code:
Balance: 0
Bitcoin Version: 70100
Protocol Version: 60002
Wallet Version: 10500
Blocks: 168375
Connections: 2
Difficulty: 1376302.2678864

Peer Nr: 1
IP:Port: 123.123.123.123:8333
Version: 32400

Peer Nr: 2
IP:Port: 456.456.456.456:8333
Version: 60001
Subversion : Satoshi:0.6.2

The source is here:
Code:
include_once("bitcoin.php");

$rpcUser = "rpcuser";
$rpcPass = "rpcpass";
$url = "http://127.0.0.1:8332";

// create bitcoin object
$bitcoin = new Bitcoin($url, $rpcUser, $rpcPass);

/**
 * Refer to https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list
 * for a list of methods
 */

/////////////////////////////////////
// Local Wallet Balance
$Balance = $bitcoin->getBalance();
echo("

Balance: $Balance");

/////////////////////////////////////
// Bitcoin Info
$info = $bitcoin->getinfo();
//
// What is our bitcoin version?
echo("
Bitcoin Version: ");
print_r ($info["version"]);

// What is the protocol version?
echo("
Protocol Version: ");
print_r ($info["protocolversion"]);

// What is the version of the wallet file?
echo("
Wallet Version: ");
print_r ($info["walletversion"]);

// How many blocks have we downloaded?
echo("
Blocks: ");
print_r ($info["blocks"]);

// How many connections to the bitcoin network do we have?
echo("
Connections: ");
print_r ($info["connections"]);

// What is the network difficulty?
echo("
Difficulty: ");
print_r ($info["difficulty"]);

// If no errors, why would we show it?
if ($info["errors"] !== ""){
echo("

Errors: ");
print_r ($info["errors"]);
echo "


";
}else{
echo "


";
}


/////////////////////////////////////
// Peer Info
$peerinfo = $bitcoin->getPeerInfo();
//
// Count the connections, so we know how many peers to show on the page.
for( $count=0; $count<=$info["connections"]; $count++ ){
$counter = $count - 1;

// Wich peer are we showing?
if ($count > 0){
$peerData = $peerinfo["$counter"];
echo("Peer Nr: $count ");

// What is his ip?
echo "
IP:Port: ";
print_r($peerData["addr"]);

// Wich version does he uses?
echo "
Version: ";
print_r($peerData["version"]);

// Does he use a mainstream or a subversion?
// If no subversion, i dont care!
if ($peerData["subver"] !== ""){

echo "
Subversion : ";

// Remove those dirty "/"'s from the subversion info.
$SubVerUC = $peerData["subver"];
$SubVerRP = "/";
$SubVersion = str_replace($SubVerRP, "", $SubVerUC);

// Print the cleaned subversion info.
print_r($SubVersion);
}

// If the peer has no banscore, do not alert me!
if ($peerData["banscore"] != "0"){
echo "
Banscore: ";
print_r($peerData["banscore"]);
}
echo "

";
}
}

?>

Please be aware that the use of this script could be a big security issue!
Do not use this script from insecure connections, nor use this on a production server before you implement some sort of security in it!
Preferable use this only on a new server, just to make sure everything is working, when everything is working, just delete the file from the server.


If someone finds it useful... Enjoy!  Smiley

MasterX
sr. member
Activity: 271
Merit: 250
Dear all,

http://bitwein.de.vu
Finally another site that accepts bitcoin for physical goods (good red wine, white wine, sparkling wine from Palatia)

Happy to receive your feedback
newbie
Activity: 59
Merit: 0
 :DThe ball is now rolling for the new Hydroponics site.
 HydroAnonymous.com Wink
newbie
Activity: 27
Merit: 0
I've been thinking about setting up a pool of elite miners based upon the use of a little program a great script writer gave me called pristine miner.

Its under ground and highly experimental but the results i have seen so far have bee fantastic.

I currently work in IT so i like to keep my face off the airwaves if you know what i mean but I really think the bitcoin is a great concept and would love to see more of it!
newbie
Activity: 17
Merit: 0
I'm Jon and I run bitcoinspace.com - I trade BTC for MoneyPaks and Money Orders at the moment. Hello everyone!
newbie
Activity: 59
Merit: 0


Hello Ladys and gents 

I thought it's was about time i said hi!!

Been reading for a while now and have much love 4 bitcoins even though i have had my up's and downs with them!!

recently made a few websites live 

 www.thebitcointshirtcompany.com    [ more designs coming !!]
www.directbizware.com                    [ software prices will drop once fully operational ]         



Allso i am allready thinking of a new site which should blow these sites out of the water.

Im in the UK and have permission to use the stock of a very large wholesale hyroponics company


Now !! am i right in saying ? if my site offered pgp for the customers addy details and they was using a vpn or something like that.

The buyer would be more anonymous than any other method
eg. paying with creditcard/ walking into the shop with cctv ect..
i would be able to offer a worldwide delivery service at good prices.

NOW does the bitcoin world want this and will it work???
and allso is it legal to promote and teach people on the website to be anonymous eg, step by step guids to buyin bitcoins, pgp, vpn ect...


REALLY REALLY look forward to hear what you think?!?!?
 













sr. member
Activity: 434
Merit: 250
Recently created a bitcoin only web hosting service ( http://cleverpuffin.com )

Web Developer as a day-job.

Currently exploring various bitcoin related projects
newbie
Activity: 13
Merit: 0
Iam searching for financier´s who handle amounts above 100BTC so i can have enough ressources the next time.
newbie
Activity: 5
Merit: 0
Hello, I've been watching Bitcoin community for the past year and I decided to get a little more active. I'm experienced developer looking into offering his professional services to the Bitcoin community. I specialize in Linux server administration, Python/Django programming, and related fields.

Thanks!
newbie
Activity: 39
Merit: 0
I absolutely love this thread. The growth and expansion of Bitcoin lies in the hands of entrepreneurs. Obviously we will not see large retailers/corporations accepting bitcoins until there is a sufficient customer base who demands it, so the only way we can expand the base of bitcoin users is to increase the number of places where we can spend our bitcoins. We must make a conscious effort to use bitcoins rather than fiat currency. Thanks to everyone who has posted on this tread.
newbie
Activity: 34
Merit: 0
Plenty of smart and driven people on this post.

I am planning on accepting bitcoin in my charting and graphing business.
donator
Activity: 1722
Merit: 1036
Hi, I can sell legal tax-free investment silver to European Union citizens. This opportunity is only available in Estonian jurisdiction. If you are searching for the way to purchase PHYSICAL silver, no shares etc. it really pays to check this out. You save 10-20% compared to other countries' prices that have VAT. You will have to take delivery of your silver personally in Estonia or arrange for the shipping yourself.

http://www.silverbank.net

We also sell all other silver products, cheapest in Europe. No minimum or maximum purchases.

Yes, bitcoin accepted Smiley
legendary
Activity: 2097
Merit: 1070
We can embroider company logo's or any other logo you want onto pretty much any garment and will accept Bitcoin as payment at current exchange rates with no markup.

I can produce some Bitcoin logo style polo shirts, jackets. Cut vinyl heat pressed t-shirts. Pretty much any garment which needs printing.

We have a website and have been going for a number of years now. We are in the UK so you might want to take this into consideration as international shipping from the UK isn't cheap.

Anyway, I'd like out of the newbie section please. I have a website for the Embroidery service but I'm not sure if I can post it here due to the spam rules.....
newbie
Activity: 44
Merit: 0
I sell Walmart, Target, and Amazon gift cards on bitmit.net.  Amazon claim codes are also available.  Available only for the US market though.

Here is a sample item:
http://www.bitmit.net/en/trade/i/7176-amazon-claim-code-egift-card-100/description

newbie
Activity: 42
Merit: 0
Awesome, this is a very encouraging thread!

I'm a programmer/web developer, and I've been helping with a new game, BTCMultiplier.com.
newbie
Activity: 28
Merit: 0
Greetings,

I am looking to provide freelance graphic design services. I have experience with most Adobe products (Photoshop, InDesign, Illustrator are my main tools) , though I am not great at video editing or production or sound design. I have very basic skills with Maya, though I am trying to learn more over time. I have branding, logo design, layout, and desktop publishing. experience. I am still a novice with HTML, though I can create graphics for use on websites. Thank you for your time.

Would love to work on a project with you!
newbie
Activity: 58
Merit: 0
Hello,

Very simply stated - I own the business coincollectingenterprises.com. Offering physical assets as a form of investment across the U.S. and now expanding to include payment by bitcoins.


nickels are the new penny. start stacking before they go to a steel alloy.
member
Activity: 129
Merit: 10
Interesting thread, thanks.
newbie
Activity: 28
Merit: 0
Hello,

Very simply stated - I own the business coincollectingenterprises.com. Offering physical assets as a form of investment across the U.S. and now expanding to include payment by bitcoins.
member
Activity: 65
Merit: 10
Just started accepting Bitcoin at my somewhat-established vinyl decal shop:

http://www.azurerocket.com
Jump to: