Bonjour,
Je voudrais lancer Excel sur un serveur Windows depuis mon code PHP via la commande COM.
Malheureusement j'ai systématiquement une fenetre Grise avec un croix rouge et un message de type Erreur Application Apache ...
Si quelqu'un peut m'aider ...
coté PHP j'ai ajouter l'extension Win32_api et voici ma rubrique [com] dans php.ini :
[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
Partager