php bestand:
php.ini
Het enige wat er gebeurt is dat mijn browser "vast loopt".
Er gebeurt helemaal niets, ik krijg geen melding op het scherm nix....
wat is er loos?
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| // starting word $word = new COM("word.application") or die("Unable to instanciate Word"); echo "Loaded Word, version {$word->Version}\n"; //bring it to front $word->Visible = 1; //open an empty document $word->Documents->Add(); //do some weird stuff $word->Selection->TypeText("This is a test..."); $word->Documents[1]->SaveAs("Useless test.doc"); //closing word $word->Quit(); //free the object $word->Release(); $word = null; |
php.ini
code:
1
2
3
4
5
6
7
8
9
10
11
| [com] ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs com.typelib_file = ; allow Distributed-COM calls com.allow_dcom = true ; autoregister constants of a components typlib on com_load() com.autoregister_typelib = true ; register constants casesensitive com.autoregister_casesensitive = false ; show warnings on duplicate constat registrations com.autoregister_verbose = true |
Het enige wat er gebeurt is dat mijn browser "vast loopt".
Er gebeurt helemaal niets, ik krijg geen melding op het scherm nix....
wat is er loos?