Author

Topic: PHP problems. (Read 1014 times)

newbie
Activity: 42
Merit: 0
July 13, 2011, 01: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.
hero member
Activity: 590
Merit: 500
July 13, 2011, 11:27:13 AM
#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:[email protected]: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
Jump to: