Hey,
ich versuch gerade per PHP und COM auf Outlook zu kommen und dort in den Kalendar einen Eintrag zu speichern! Derzeit noch bei mir lokal, später soll das dann beim Exchannge-Server arbeiten!
Hier mal der Code dazu:
Leider bekomm ich die Fehlermeldung:PHP-Code:<?php
define ("SUBJECT_MATTER", "Urlaub");
define ("START_TIME", "12/4/2003 1:00:00AM");
define ("END_TIME", "1/12/2004 1:00:00AM");
define ("BODY_TEXT", "Ulaub");
$objApp = new COM("Outlook.Application");
$newItem = $objApp->CreateItem(olAppointmentItem);
$newItem->Subject = SUBJECT_MATTER;
$newItem->Start = START_TIME;
$newItem->End = END_TIME;
$newItem->BusyStatus = olOutOfOffice;
$newItem->Body = BODY_TEXT;
$newItem->Save();
$newItem->Display();
?>
Ich werd da nicht schlau draus!Warning: (null)(): Unable to obtain IDispatch interface for CLSID {0006F03A-0000-0000-C000-000000000046}: Starten des Servers fehlgeschlagen in c:\programme\apache group\apache\htdocs\com\commail.php on line 8
Fatal error: Maximum execution time of 30 seconds exceeded in c:\programme\apache group\apache\htdocs\com\commail.php on line 8
lg
Flow
Geändert von Flow09 (01.12.2003 um 14:13 Uhr)
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)