Not sure if it's too late for you to start this but, you might look into using xmlrpc to manage your WordPress instance. There's quite a bit of existing code out there for doing this, and you could start here http://osflash.org/xmlrpcflash with a working xmlrpc flash client.
I mention this because it bypasses all the odd inner workings of WordPress (like your cookie issue) and offers a simple "wp.newComment" method for you to use. Open the xmlrpc.php file in the root of your WordPress install for a full list of methods (they start on line 128). As for the cookie, I almost remember some oddness about that that led me to use xmlrpc. If you've come to far to switch gears now, crack open "wp-comments-post.php" & "wp-includes/comment.php". That should give you an order of operation for the validation/cookie/insert-comment, and lead you in the right direction. Jer On Mon, Feb 15, 2010 at 12:11 PM, dr.ache <[email protected]> wrote: > hi list. > > does anyone see a big problem querying a wordpress database with php > and loading the result into flash? i did some testing and everything worked > as expected - so far. > > now to the funny part. if i want to post comments to a post in wordpress > from > flash there is one thing I'm curious about. i used the firefox plugin > tamper data > and had a look at the post data which is send if i post a comment on a > regular > html wordpress site. there is a cookie send along that wordpress surely > needs. > if i delete the cookie and proceed with the server request a wordpress > error > occurs. How can I read in that cookie and how can I push it into the header > of > the post request? > > Does anyone have experience with posting comments in wordpress from flash? > Thanks for any answers. > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

