file_get_contents() avec apache démarré en service windows
Posté : 03 juil. 2007, 18:17
Bonjour,
La fonction file_get_contents(http://www.site-distant.com) fonctionne parfaitement quand je démarre Apache en application.
j'ai les messages suivants quand Apache est démarré comme service windows
le démarrage d'Apache en service est bien sur nécessaire
Merci
La fonction file_get_contents(http://www.site-distant.com) fonctionne parfaitement quand je démarre Apache en application.
j'ai les messages suivants quand Apache est démarré comme service windows
Code : Tout sélectionner
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed:
Hôte inconnu. in D:\Program Files\EasyPHP 2.0b1\www\monPGM.php on line 4
Warning: file_get_contents(http://www.site-distant.com) [function.file-get-contents]: failed to open stream:
No error in D:\Program Files\EasyPHP 2.0b1\www\monPGM.php on line 4Merci