Bitcoin Forum
April 26, 2024, 03:19:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PHP problems.  (Read 997 times)
BitPorium (OP)
Hero Member
*****
Offline Offline

Activity: 590
Merit: 500


View Profile
July 13, 2011, 03:27:13 PM
 #1

I am trying to send a transaction using the rpc interface. I am getting the following error
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://username:password@127.0.0.1:999/' in D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\jsonRPCClient.php:140 Stack trace: #0 D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\functions.php(51): jsonRPCClient->__call('sendtoaddress', Array) #1 D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\functions.php(51): jsonRPCClient->sendtoaddress('15UH4oBkY5RLfM4...', '1.00000000') #2 {main} thrown in D:\Program Files (x86)\EasyPHP-5.3.6.0\www\bitcoinWebInterface\jsonRPCClient.php on line 140

but all the other functions work that return data. getinfo, getreceivedbyaddress, they all work,i just cant send any coins through the rpc interface. Any ideas? thanks
1714101553
Hero Member
*
Offline Offline

Posts: 1714101553

View Profile Personal Message (Offline)

Ignore
1714101553
Reply with quote  #2

1714101553
Report to moderator
1714101553
Hero Member
*
Offline Offline

Posts: 1714101553

View Profile Personal Message (Offline)

Ignore
1714101553
Reply with quote  #2

1714101553
Report to moderator
1714101553
Hero Member
*
Offline Offline

Posts: 1714101553

View Profile Personal Message (Offline)

Ignore
1714101553
Reply with quote  #2

1714101553
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
TeraPool
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
July 13, 2011, 05:38:44 PM
 #2

Not sure if that's built in or not but I for one would be glad if you could not send coins via the RPC interface.

If you could, port 8332 would be jam packed with hackers and port sniffers.
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!