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:
...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...


