Author

Topic: Problem with bitcoin command in php (Read 1416 times)

sr. member
Activity: 293
Merit: 251
Director - www.cubeform.io
June 13, 2015, 04:15:56 PM
#4
Where I can find a download link about this offline wallet ?

https://bitcoin.org/en/download

If you look in the header for this forum (bitcointalk) you will see right above the quicknav that says Home Help Search etc, there is a "News:" banner which has links to the Core Client.
sr. member
Activity: 293
Merit: 251
Director - www.cubeform.io
June 13, 2015, 04:14:54 PM
#3
In windows, calling bitcoin CLI
Quote
Error parsing JSON:[{ txid : d5dc... , vout :1, address : miEVe... , account :  , scriptPubKey : 76a9..., amount :0.18, confirmations :211, priority :37.98}]

I suspect its because of the escapeshellarg or something else, which messed up with double quotes in the JSON under windows.

I'm from .net background, and not familiar with PHP.

Is my guess right, and can any guru out here please help me?

Thanks!


[Edit]
OK, figured it out. It's indeed the double quote problem.

Added a few str_replace(), and manipulated some \"...

For future reference, this belongs in the Technical Support section, not Development & Technical Discussion.
newbie
Activity: 25
Merit: 0
June 12, 2015, 04:59:42 PM
#2
Where I can find a download link about this offline wallet ?
hero member
Activity: 658
Merit: 500
October 30, 2014, 05:43:39 AM
#1
In windows, calling bitcoin CLI
Quote
Error parsing JSON:[{ txid : d5dc... , vout :1, address : miEVe... , account :  , scriptPubKey : 76a9..., amount :0.18, confirmations :211, priority :37.98}]

I suspect its because of the escapeshellarg or something else, which messed up with double quotes in the JSON under windows.

I'm from .net background, and not familiar with PHP.

Is my guess right, and can any guru out here please help me?

Thanks!


[Edit]
OK, figured it out. It's indeed the double quote problem.

Added a few str_replace(), and manipulated some \"...
Jump to: