CGMiner need to have the command, --api-listen
The rest you do in "conf.php"
Ip is 127.0.0.1 if you are running cgminer on the same computer as webhost otherwise you put in the ip of the computer where the cgminer is running ("--api-network" is also required if you dont run cgminer on the same computer as webhost)
If you are mining at BTCGuild you also have the option to put in your API key (in conf.php) that you can find in settings at btcguild.
Download: https://www.dropbox.com/sh/hr2hdd7ox2lk8y7/tmjjPfB7MZ
The code looks rubbish but works, took me about a day to code this, enjoy.
I just made this esterday so if you have any suggestions please write them
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
Donations are always helpfull
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
1JkTuZCeF5GiPoYMxRWcx5qTu2ppaLPc5g
If it gets some attention i might consider working more on it like being able to quit, restart miner from the web interface...
CGMiner page
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fgyazo.com%2Fc5c26c7e1feea7ca28486772d02f8d5d.png&t=664&c=B0KpocJSOXUsEA)
BTC Guild page
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fgyazo.com%2F43c00dc6534fcf7e00889bf21c9171fb.png&t=664&c=vEnEqrPL-T98Pg)