To be honest I am not sure where the code is failing - it is starting Outlook.exe on the server so I assume it is able to instantiate the COM application (I think that is what it is called!). If I stop the page load and do a 'view source' all I see is <html></html> and nothing else. The Outlook.exe process also remains running on the server and has to be killed with Task Manager. However, when run from the command line the script WORKS!!! What can that mean? -----Original Message----- From: tg-php@xxxxxxxxxxxxxxxxxxxxxx [mailto:tg-php@xxxxxxxxxxxxxxxxxxxxxx] Sent: Wednesday, 8 June 2005 12:33 AM To: php-general@xxxxxxxxxxxxx Cc: Baiocchi, Justin (CSIRO IT, Armidale) Subject: RE: Displaying an Outlook Calendar on a webpage using PHP Sorry, wasn't able to test this when I got home. But to clearify, when you use COM, it's loading Outlook (as you've seen) and then talking directly to it. So you don't need an exchange server to make it work. Try tracing through the code and see where it's failing. And nothing's showing up when you do "View source" (I know you said it's continuously running but curious what happens if you stop the page load and see what's been output)? Have you tried running the script via command line? I'd be curious to see how far the script gets for you before it bombs out. It might be trying to tell Outlook to do something and just hanging (hence the perpetual loading in your browser) which is why I'm wondering how far it gets and what happens if you run it via command-line. More info would definitely be appreciated. -TG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php