Bitcoin Forum
April 25, 2024, 08:03:34 AM *
News: Latest Bitcoin Core release: 27.0 [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 957 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
1714032214
Hero Member
*
Offline Offline

Posts: 1714032214

View Profile Personal Message (Offline)

Ignore
1714032214
Reply with quote  #2

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

Posts: 1714032214

View Profile Personal Message (Offline)

Ignore
1714032214
Reply with quote  #2

1714032214
Report to moderator
1714032214
Hero Member
*
Offline Offline

Posts: 1714032214

View Profile Personal Message (Offline)

Ignore
1714032214
Reply with quote  #2

1714032214
Report to moderator
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!