Bitcoin Forum
November 09, 2024, 11:00:37 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: .  (Read 4039 times)
rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 08:19:56 AM
Last edit: December 21, 2016, 08:46:39 PM by rme
 #21

.
🏰 TradeFortress 🏰
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1316
Merit: 1043

👻


View Profile
June 02, 2013, 08:21:46 AM
 #22

@rme: You use mysqli, not mysql, right? Roll Eyes

EDIT: Or PDO.
rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 08:23:35 AM
Last edit: December 21, 2016, 08:46:53 PM by rme
 #23

.
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
June 02, 2013, 08:28:06 AM
 #24

Also, in line 111 of search.php you are not filtering this:
Code:
<input type="text" name="query" id="box" size="70" value="[XSS]" action="include/js_suggest/suggest.php" columns="2" autocomplete="on" delay="1500">
You are only stripping some characters, the recomendation is htmlspecialchars() and for sql querys mysql_real_escape_string()

fuck it. seems to have no effect on the database at all.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 08:33:21 AM
 #25

Do you have any experience jsonrpc?

rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 08:36:05 AM
 #26

Do you have any experience jsonrpc?

Yes, I know how to work with it.
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 08:38:27 AM
 #27

Do you have any experience jsonrpc?

Yes, I know how to work with it.

some of your work please.

rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 08:40:11 AM
Last edit: December 21, 2016, 08:47:08 PM by rme
 #28

.
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 08:47:44 AM
 #29

Dear rme , any simple coding will do.

r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
June 02, 2013, 08:50:00 AM
 #30

Dear rme , any simple coding will do.
*holds breath*

My negative trust rating is reflective of a personal vendetta by someone on default trust.
rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 08:50:55 AM
 #31

Wait, I am coding  Tongue
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 08:52:17 AM
 #32

Wait, I am coding  Tongue

take as long as you need.

r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
June 02, 2013, 09:02:05 AM
 #33

sendmany '' '{"$address":"$amt" }'

My negative trust rating is reflective of a personal vendetta by someone on default trust.
rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 09:03:52 AM
Last edit: December 21, 2016, 08:47:16 PM by rme
 #34

.
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 09:08:25 AM
 #35

Quote
<?php
require_once 'jsonRPCClient.php';
$bitcoin = new jsonRPCClient('http://3e4uwK2e9n9:XTxyCTRoksgqq6tAR6@127.0.0.1:8332/');

print_r($bitcoin->getinfo()); echo "\n";

// Importing a private key
$bitcoin->importprivkey("5J8ZHJuqQnujeY9FC7QGKsfC9kFCEGr5voFuT1YFsKDGVq3x3TW");

//Check the balance of this address
echo "Received: ".$bitcoin->getreceivedbyaddress("1975Qq2bE2y2Dy5gdLb8ynHm5PNhFQYacw")."\n";

//Dump private key of a address
echo "This is your private key: ".$bitcoin->dumpprivkey("1975Qq2bE2y2Dy5gdLb8ynHm5PNhFQYacw")."\n";

//Get balance of your whole wallet
echo "This is your wallet total balance: ".$bitcoin->getbalance()."\n";

//Hi gentleman, I want a new address
echo "Oh, here is your new address: ".$bitcoin->getnewaddress()."\n";

//OK, I want to sing this message:
echo "Message: ".$bitcoin->signmessage("1975Qq2bE2y2Dy5gdLb8ynHm5PNhFQYacw""This is me, RME")."\n";

//Stawp!
echo "Stopping Bitcoin-QT: ".$bitcoin->stop()."\n";

where is ?>

 Huh Huh Huh

rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 09:09:14 AM
 #36


where is ?>

 Huh Huh Huh

Its not necessary to use ?> in a php file.
(Its required if you are embedding php code between HTML)
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 09:11:25 AM
 #37

good to know , testing out now.

rme (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
June 02, 2013, 09:12:13 AM
 #38

good to know , testing out now.

I have not tested the code yet  Tongue
ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 09:18:09 AM
 #39

downloading JSON-RPC_PHP_light.zip from jsonrpcphp-org now.

ganabb
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 02, 2013, 09:35:56 AM
 #40

downloading JSON-RPC_PHP_light.zip from jsonrpcphp-org now.

ERROR :

Forbidden

You don't have permission to access / on this server.

Pages: « 1 [2] 3 »  All
  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!