Bitcoin Forum
June 22, 2024, 04:43:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Coding question: how do I make JSON-RPC calls through PHP?  (Read 2051 times)
RichG (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
June 02, 2013, 05:42:56 AM
 #1

Coding question: how do I make JSON-RPC calls through PHP?
RichG (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
June 02, 2013, 05:52:55 AM
 #2

Thank you!
Fuserleer
Legendary
*
Offline Offline

Activity: 1064
Merit: 1016



View Profile WWW
June 02, 2013, 10:29:24 PM
 #3

you can use Pest too, its a PHP REST API

Tonko
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 02, 2013, 10:34:17 PM
 #4

PHP is to programming languages like a hamburger from McDonalds trash can is to hamburgers.
RichG (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
June 03, 2013, 04:24:08 AM
 #5

PHP is to programming languages like a hamburger from McDonalds trash can is to hamburgers.

I do not care about your shameful trolling.
Tonko
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 04, 2013, 03:16:54 AM
 #6

I do not care about your shameful trolling.

Keep repeating it before you go to sleep, you may begin to believe...
Tonko
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 04, 2013, 04:29:34 AM
 #7

Let me guess your a Ruby on rails guy.

Nah, I don't waste time on that crap either.
Tonko
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 04, 2013, 04:31:39 AM
 #8

Then what do you program in?

C++ and D
roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 04, 2013, 04:34:49 AM
 #9

require_once 'jsonRPCClient.php';

$bitcoind = new jsonRPCClient('http://user:pass@host:port/');
$gbt = $bitcoind->getblocktemplate();
Tonko
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 04, 2013, 04:41:19 AM
 #10

So you use a language, that no one cares to use. C++ is already but for web it isn't practical so I don't know what gives you the idea to really hate on php since C++ and php are kinda related and D is never used.

Well, I am kind of advanced, you see...
Tonko
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 04, 2013, 04:53:41 AM
 #11

Considering I know C++ and C your not that advance if you knew assembly I be impress but that is just cause I don't know your age.

O ye, me that advance.
Very advace!

 8051, Z80, x86, x64
Tonko
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 04, 2013, 05:00:27 AM
 #12

LOL you didn't speak english

MIPS too!
Pages: [1]
  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!