Yeah, I saw that function at <a href="http://php.net">php.net</a>, and the user feedback just makes what seems like a simple function call completely confusing.<br><br>I'll monkey around with it a bit and see what I can accomplish.  I was hoping to avoid a day or two of fiddling with this by just seeing if anyone has actually used this API and made it work using PHP.<br>
<br>BTW, I'm on a Mac.  I totally made the switch.  The only thing I use my PC for is IE7 testing, because I don't want to run Parallels or anything like that on my souped up MacBook Pro.  I'll check out MarsEdit.<br>
<br><br><div class="gmail_quote">On Mon, Apr 13, 2009 at 10:20 AM, Daniel Jalkut <span dir="ltr"><<a href="mailto:jalkut@red-sweater.com">jalkut@red-sweater.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Dave - you have to Base64 the data yourself.  It's a means of turning binary data into data that can be safely expressed in a pure-text medium.<br>
<br>
I've never done this myself with PHP, but it looks like this function is included in PHP 4 and 5:<br>
<br>
<a href="http://us2.php.net/base64_encode" target="_blank">http://us2.php.net/base64_encode</a><br>
<br>
You might benefit from looking at the network log from an app such as my own MarsEdit (Mac), or another client if you're on a PC.  You'll see exactly how the newMediaObject data is transmitted from the app to the blog.<br>

<br>
Daniel<div><div></div><div class="h5"><br>
<br>
On Apr 13, 2009, at 9:25 AM, David Weiss wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
First, thanks to those who helped me with my other issues - all is cool so far!<br>
<br>
But being a noob (soon to be not a noob), I am now tripped up by the call to new media object.<br>
<br>
Specifically, I am kind of clueless how the Base64 file representation is supposed to work.  Do I have to convert the file myself, or is that something that happens inside the Incutio client?  I've dug through the code, but I'm just not sure how this works.  Also, I can't find a single example of how to do this out on the net.  Weird.<br>

<br>
I'm sure this should just be a handful of lines of PHP, but I'm just not getting it right.<br>
<br>
Any help would be greatly appreciated.<br>
<br>
<br>
Dave<br></div></div>
_______________________________________________<br>
wp-xmlrpc mailing list<br>
<a href="mailto:wp-xmlrpc@lists.automattic.com" target="_blank">wp-xmlrpc@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-xmlrpc" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-xmlrpc</a><br>
</blockquote>
<br>
_______________________________________________<br>
wp-xmlrpc mailing list<br>
<a href="mailto:wp-xmlrpc@lists.automattic.com" target="_blank">wp-xmlrpc@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-xmlrpc" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-xmlrpc</a><br>
</blockquote></div><br>