Post
Topic
Board Project Development
Re: Cant pull RPC credentials from my config.php file
by
The_Trader
on 07/04/2023, 13:26:12 UTC
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 like this:

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

Ha thank you OmegaStarScream

That was exactly what it was, I have been sat here for hours staring at it and trying to figure out what is wrong, I knew it would be simple i was just too pissed off to see it.

Again thanks fr the prompt help it was appreciated Smiley

TT