Bitcoin Forum
September 02, 2024, 01:28:53 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PHP] how can we validate a bitcoin adress without any special lib?  (Read 972 times)
glub0x (OP)
Legendary
*
Offline Offline

Activity: 892
Merit: 1013



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
glub0x (OP)
Legendary
*
Offline Offline

Activity: 892
Merit: 1013



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!