Post
Topic
Board Project Development
Merits 4 from 1 user
Re: Cant pull RPC credentials from my config.php file
by
OmegaStarScream
on 07/04/2023, 13:13:19 UTC
⭐ Merited by hugeblack (4)
I'm not that familiar with PHP so I could be wrong, but it looks like you're passing strings instead of variables here?:

Code:
$bitcoin = new Bitcoin('$rpc_user','$rpc_pass','$rpc_host','$rpc_port');

Instead, it should be this:

Code:
$bitcoin = new Bitcoin($rpc_user,$rpc_pass,$rpc_host,$rpc_port);