Bitcoin Forum
March 29, 2020, 01:07:51 PM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simple usd to btc (mtgox, php gd)  (Read 1751 times)
alkhdaniel
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
June 27, 2011, 02:19:07 PM
Last edit: June 28, 2011, 08:15:59 PM by alkhdaniel
 #1

Gets your (input price/sell price@mtgox) and puts it in a small png img.

Example
Code:
[img]100 usd = http://91.215.158.89/~twyxgiv/bitcoin/convert.php?usd=100[/img] bitcoins.
Output: 100 usd = bitcoins.
Just change the usd=100 part to what amount of usd you want converted to btc. My url is not guaranteed to work in the future and it's hosted on a weak vps, if you plan to use this for serious things please download the source and set it up for yourself.


Download source. (requires php json & php gd)
~Source free to use in any way you wish.


If you like or use this, please donate a bitcent or two to: 1Awyxgawq52mkYmiAQ9v4sLPXxStVsSGy8
1585487271
Hero Member
*
Offline Offline

Posts: 1585487271

View Profile Personal Message (Offline)

Ignore
1585487271
Reply with quote  #2

1585487271
Report to moderator
1585487271
Hero Member
*
Offline Offline

Posts: 1585487271

View Profile Personal Message (Offline)

Ignore
1585487271
Reply with quote  #2

1585487271
Report to moderator
1585487271
Hero Member
*
Offline Offline

Posts: 1585487271

View Profile Personal Message (Offline)

Ignore
1585487271
Reply with quote  #2

1585487271
Report to moderator
Roullete Flip Duels Bubble Player vs B2 Player vs Player Player vs B2 Supports Lightning Network The Social Gambling Games Play Now
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1585487271
Hero Member
*
Offline Offline

Posts: 1585487271

View Profile Personal Message (Offline)

Ignore
1585487271
Reply with quote  #2

1585487271
Report to moderator
1585487271
Hero Member
*
Offline Offline

Posts: 1585487271

View Profile Personal Message (Offline)

Ignore
1585487271
Reply with quote  #2

1585487271
Report to moderator
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
June 28, 2011, 03:46:06 AM
 #2

This is amazing.

Possibly in the wrong section of the forum however, don't know why nobody has replied.

This is exactly what websites need to deal with the "BTC Volatility Payment Problem".

Good work.
alkhdaniel
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
June 28, 2011, 05:05:28 AM
 #3

This is amazing.

Possibly in the wrong section of the forum however, don't know why nobody has replied.

This is exactly what websites need to deal with the "BTC Volatility Payment Problem".

Good work.
Wasn't really sure if it should go in here or bitcoin discussion. This is probaly more useful for forum threads or places you can't use php or other languages though. For websites i would recommend removing all lines after $ppbtc and then use echo $ppbtc; where you want to display the price.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!