That's the piece I did not see in the code.<br><br>Thanks!<br><br><br><br><div class="gmail_quote">On Mon, Apr 13, 2009 at 4:43 PM, Joseph Scott <span dir="ltr"><<a href="mailto:joseph@josephscott.org">joseph@josephscott.org</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;"><div style=""><br><div><div class="im"><div>On Apr 13, 2009, at 3:21 PM, David Weiss wrote:</div>
<br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Yeah, I saw that function at<span> </span><a href="http://php.net" target="_blank">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></span></blockquote>
<div><br></div><div><br></div></div><div>I can confirm that it does work with PHP :-)</div><div><br></div><div>Using the IXR library that WordPress ships with you need to make sure that the field is correctly marked up as base64:</div>
<div><br></div><div>$file_data = new IXR_Base64( $data );</div><div><br></div><div>The IXR_Base64 class takes care of calling the base64_encode() function for you.</div><div class="im"><div><br></div><br><blockquote type="cite">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><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.</span></blockquote>
</div></div><font color="#888888"><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<br>--</div><div>Joseph Scott</div><div><a href="mailto:joseph@josephscott.org" target="_blank">joseph@josephscott.org</a></div><div><a href="http://josephscott.org/" target="_blank">http://josephscott.org/</a></div><div>
<br></div></span><br></div></span><br> </div><br></font></div><br>_______________________________________________<br>
wp-xmlrpc mailing list<br>
<a href="mailto:wp-xmlrpc@lists.automattic.com">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>
<br></blockquote></div><br>