I was, more or less, just posting a template for use.
What error would it return. I don't see a reason as to why it would return an error provided he uses
urlencode($note);
before providing the note.
Therefore:
This is just a test note
would turn into:
This%20is%20a%20test%20note
and would be accepted by BlockChain.info.
As an example: The code should be along the lines of:
$note = urlencode("NOTE HERE");
$guid="GUID_HERE";
$firstpassword="PASSWORD_HERE";
$secondpassword="PASSWORD_HERE";
$amounta = "10000000";
$amountb = "400000";
$addressa = "1A8JiWcwvpY7tAopUkSnGuEYHmzGYfZPiq";
$addressb = "1ExD2je6UNxL5oSu6iPUhn9Ta7UrN8bjBy";
$recipients = urlencode('{
"'.$addressa.'": '.$amounta.',
"'.$addressb.'": '.$amountb.'
}');
$json_url = "http://blockchain.info/merchant/$guid/sendmany?password=$firstpassword&second_password=$secondpassword&recipients=$recipients¬e=$note";
$json_data = file_get_contents($json_url);
$json_feed = json_decode($json_data);
$message = $json_feed->message;
$txid = $json_feed->tx_hash;
?>