Let's say I have a website and I want to automate transaction both input and output.
What is the best way to do so?
Are you wanting to use a wallet with API capabilities, or run the bitcoin core on your own server and handle the transactions from there?
Do not run a wallet on the same machine as the web server. If (or maybe when) your web server gets owned by a PHP or Java flaw, you don't want the wallet there.
Handling from my BCC wallet.
The script from my site will send a request to my wallet on my desktop to send x.xx BTC to address 1XXX...
That makes sense.
So what do you recommend I use to program the site with? I assume PHP?