Skip to content

回复:JSON-RPC 密码 ​

原始发布页

打开来源页面
查看 1 个交叉存档

引用 BitLex 于 2010 年 7 月 25 日 08:45:38 PM 的发言

我在尝试让它在 PHP 上运行时也遇到了一些问题。 到目前为止都没成功,无论是 wiki 上的示例(jsonRPCClient 尝试 fopen(http://username:password@localhost:8332/)),还是我的 curl 示例(使用 setopt CURLOPT_HTTPAUTH, CURLAUTH_BASIC),似乎都无法工作。

真奇怪,刚才不是有人说这样应该能工作吗?(他用的是什么库?)如果你弄清楚哪里出了问题,请发帖说明。

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

看来我们已经遇上 Fortran 那种情形了。

英文原文 ​

展开英文原文

Quote from: BitLex on July 25, 2010, 08:45:38 PM

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.

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。