You are here: Getting a list of COM Domain objects in Windows XP « PHP Programming Language « IT news, forums, messages
Getting a list of COM Domain objects in Windows XP

Posted by AViS on 11/23/06 10:49

Hi,

I am new to PHP. I found the below code at http://in.php.net/com

Example 3. foreach in PHP 5
=============================
<?php
$domainObject = new COM("WinNT://Domain");
foreach ($domainObject as $obj) {
echo $obj->Name . "<br />";
}
?>

But I get no response from the browser (both IE and Firefox 1.0.7). I
wrote a few php pages that DO NOT access COM objects, and all the pages
work fine.

I am running php 5/ Apache 2.2.3/ Win XP SP2

Thanks in advance
Siv

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация