原始文献 / 论坛帖 / Re: JSON-RPC password

Re: JSON-RPC password

Bitcointalk · 2010-07-25 21:44:16 UTC

AuthorSatoshi Nakamoto
TitleRe: JSON-RPC password
Date2010-07-25 21:44:16 UTC
ForumBitcointalk · 原文

【引用 BitLex 于 2010年7月25日 20:45:38(https://bitcointalk.org/index.php?topic=461.msg5753#msg5753)】

"我在 PHP 上运行这个时也遇到了一些问题。到目前为止都没有成功,无论是 wiki 上的示例(jsonRPCClient 尝试 fopen(http://username:password@localhost:8332/)),还是我的 curl 示例(使用 setopt CURLOPT_HTTPAUTH、CURLAUTH_BASIC),似乎都不行。"
真奇怪,不是刚有人说这样是可行的吗?(他用的是哪个库?)如果你找出问题所在,请发帖说明。

希望它不会给所有 PHP 用户都带来这么大的麻烦。

看来我们已经遇到 Fortran 那种情况了。

英文原文

【引用 BitLex on July 25, 2010, 08:45:38 PM(https://bitcointalk.org/index.php?topic=461.msg5753#msg5753)】

"i got some problems here too trying to get this run on PHP.
so far i had no luck, neither the wiki-sample (jsonRPCClient trying to fopen(http://username:password@localhost:8332/)), nor my curl-sample (using setopt CURLOPT_HTTPAUTH, CURLAUTH_BASIC) seem to work.
"
That's strange, didn't someone just say that was supposed to work? (what library was he using?) Post if you figure out what wrong.

I hope it's not going to put up this much of a fight for all PHP users.

Looks like we've got the Fortran scenario already.