Bitcoin Forum
August 19, 2018, 06:28:21 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [PHP] how can we validate a bitcoin adress without any special lib?  (Read 848 times)
glub0x
Legendary
*
Offline Offline

Activity: 876
Merit: 1001



View Profile
January 26, 2013, 12:01:29 PM
 #1

Everything is in the title?

I actually use this code
https://github.com/Xenland/Bitcoin-Pseudocode-Client/blob/gh-pages/examples/php/verify_bitcoin_address.php
But it sometimes refuse valid address...

++ Is there a special site where we can find useful copy/past script for differents languages? (would be usefull)


The cost of mediation increases transaction costs, limiting the
minimum practical transaction size and cutting off the possibility for small casual transactions

Satoshi Nakamoto : https://bitcoin.org/bitcoin.pdf
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
glub0x
Legendary
*
Offline Offline

Activity: 876
Merit: 1001



View Profile
January 27, 2013, 01:08:11 PM
 #2

No solution?

The cost of mediation increases transaction costs, limiting the
minimum practical transaction size and cutting off the possibility for small casual transactions

Satoshi Nakamoto : https://bitcoin.org/bitcoin.pdf
kakobrekla
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Psi laju, karavani prolaze.


View Profile
January 27, 2013, 01:13:13 PM
 #3

http://pastebin.com/raw.php?i=26As85tX

checkAddress works out of the box, other calls need a one line fix first. Lemme know if you need help.

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!