PHP developer intro: Difference between revisions
Jump to navigation
Jump to search
Created page with "For the sake of this tutorial we assume an Ubuntu server running with PHP. The use case here is integrating a shopping system to accept Bitcoins. We assume some knowledge of Bitc..." |
(No difference)
|
Revision as of 09:26, 21 March 2011
For the sake of this tutorial we assume an Ubuntu server running with PHP. The use case here is integrating a shopping system to accept Bitcoins. We assume some knowledge of Bitcoin and experience in PHP.
You can substitute any other language here for PHP. See the associated API reference pages for info on other languages.
Setting up Bitcoin
You will run Bitcoin in daemon mode. The way PHP communicates is through localhost HTTP requests. You use a library called JSON-RPC to call the various functions. It will respond back with a JSON object.
Bitcoins are stored internally as 64 bit integers. Because