I'm sure people have had wilder ideas, but this is what I'm trying to do. I'm disappointed by the lack of clear documentation and examples for GTK and the strange way the package insists on using its own binary php.exe (for win32) instead of being just a simple extension. And I've yet to find a way to put 2 buttons on the new window. I tried this 6 months ago, can't remember the detail but remember thinking at the time, stuff this! Never again etc. The documentation wasn't clear to me, so I'm not sure what I've said is strictly true.
I've written an application which iterates through a database, performing various functions along the way, and at each step there are about 20 variables which I'd like to see. These are output to the console at such speed that it's hard to see what's going on unless it crashes and you can look at the error log. I'd like to have a basic GUI for outputting this information and it occurred to me that I could use PHP's COM functionality to create a Shockwave Flash object (as I have done in Excel VBA for example) and then pass data from PHP, through to the custom fields in a custom made flash object. My application runs in the CLI version of PHP 5. I've tried to instantiate the flash object, but it doesn't recognise the term Shockwave Flash Object when I try to create it. Am I just trying to create the object using the wrong object name? Or is this because it's a plugin? And if so, how come it works when I created a test in Excel VBA (where I managed to interact with a flash object from within a VBA script). My only other option is to create a Internet Explorer object, load a document with an embedded flash object and then reference it from there, but that sounds even more 'cowboy-coder' to me. My thinking is that if it's easy to talk to a flash object (and I believe it's possible for a COM object to talk back to PHP) then it strikes me that a flash file would be an improved interface to PHP than GTK - it looks nicer for starters, smooth fonts and animation not as hard to implement. Failing this, I'm considering writing a PHP script with socket support which can talk to a Flash object in a client-server manner. Anyone got any thoughts on this? Thanks Chris If you are not the intended recipient of this e-mail, please preserve the confidentiality of it and advise the sender immediately of any error in transmission. Any disclosure, copying, distribution or action taken, or omitted to be taken, by an unauthorised recipient in reliance upon the contents of this e-mail is prohibited. Somerfield cannot accept liability for any damage which you may sustain as a result of software viruses so please carry out your own virus checks before opening an attachment. In replying to this e-mail you are granting the right for that reply to be forwarded to any other individual within the business and also to be read by others. Any views expressed by an individual within this message do not necessarily reflect the views of Somerfield. Somerfield reserves the right to intercept, monitor and record communications for lawful business purposes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php