I am making for myself a script that checks how many mH/hash of my miners on mining pool websites are. Therefor I have a bunch of variables with $user and $pass for each site. Example:
$user1 = 'A';
$pass1 = 'B'
$user2 = 'C';
$pass2 = 'D';
So I made a PHP curl that login the form and checks the currently mH/hash. Also I've made a counter, to rise the variable user1 and pass1 up by +1.
$count = 0;
$count = $count + 1;
$user = "$user$count";
echo $user;
But the problem is my output at the login form:
$user2
Should be:
C
I hope it is clear what I am looking for and thanks in advance.