Bitcoin Forum
December 16, 2017, 05:15:25 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [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 842 times)
glub0x
Legendary
*
Offline Offline

Activity: 821



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
1513444525
Hero Member
*
Offline Offline

Posts: 1513444525

View Profile Personal Message (Offline)

Ignore
1513444525
Reply with quote  #2

1513444525
Report to moderator
1513444525
Hero Member
*
Offline Offline

Posts: 1513444525

View Profile Personal Message (Offline)

Ignore
1513444525
Reply with quote  #2

1513444525
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513444525
Hero Member
*
Offline Offline

Posts: 1513444525

View Profile Personal Message (Offline)

Ignore
1513444525
Reply with quote  #2

1513444525
Report to moderator
glub0x
Legendary
*
Offline Offline

Activity: 821



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


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!