Logging in AMFPHP

Posted on Sunday 20 March 2005

Does anyone know how it would be possible to do remote logging in AMFPHP? If you use trace in FlashCom by some unknown mechanism the NetConnection debugger can catch the event. I'm looking to do something similar in AMFPHP. Anybody has any ideas how it works?

In the current CVS, I've hacked in a convenient trace-like mechanism. By putting this line in gateway.php:

$gateway->setObLogging("e:/filename");

...everything you send to the output buffer is logged in a local file. That means all calls to echo, print, printf, print_r, and all non-fatal errors that usually find their way in the output are logged in a file. Convenient, but you need access to the file so more useful for local development. The next step would be a real mix-in with the NetConnection debugger. If anyone could point me in the right direction...


WordPress database error: [Can't open file: 'wp_comments.MYD'. (errno: 145)]
SELECT * FROM wp_comments WHERE comment_post_ID = '58' AND comment_approved = '1' ORDER BY comment_date

No comments have been added to this post yet.

Leave a comment




Your e-mail address is never displayed. If you run into issues with SpamKarma blocking you, email me at $patrick->5etdemi(com)


RSS feed for comments on this post | TrackBack URI