Bitcointalk · JSON-RPC password

中本聪,2010 年 7 月 25 日

SN-1460 已核对来源,附原文与上下文。

阅读语言
中文译文

我在用 PHP 跑这个的时候也遇到了问题。 到现在都没成功,wiki 示例(jsonRPCClient 试图 fopen(http://username:password@localhost:8332/))和我的 curl 示例(用 setopt CURLOPT_HTTPAUTH, CURLAUTH_BASIC)看起来都不行。

这就怪了,不是刚有人说这样应该能行吗?(他用的什么库?)查出问题在哪就发上来。

我希望它不会跟所有 PHP 用户都这么较劲。

看来 Fortran 场景已经提前上演了。

ORIGINAL · 英文原文
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.
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-1460