Re: PHP and IIS Index Server
| From: | Matthew Podwysocki | Date: | Mon, 11 Sep 2000 19:32:37 +0000 |
| Subject: | Re: PHP and IIS Index Server | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2579@lists.php.net to get a copy of this message | ||
I have tried the COM_get($rsQuery, Columns); because that is one property I know. And it gives me vpath, filename, etc. However, I cannot pull the actual value. I have also tried in ASP format:
$rsQuery("vpath"); and it gives me the following error:
Fatal error: Call to undefined function: object()
Any advice?
From: Andy Hoffman <andy.hoffman@bms.com> To: Matthew Podwysocki <gcprweb@hotmail.com> CC: php-windows@lists.php.net Subject: Re: [PHP-WIN] PHP and IIS Index Server Date: Mon, 11 Sep 2000 11:42:08 -0400 Matthew Podwysocki wrote: There are no syntactical errors in the previous lines. However, I am running into trouble trying to pull out the data. echo ("<p><b><a href='" . $rsQuery["vpath"] . "'>" . $rsQuery["filename"] . "</a></b><br>"); echo ("<font size=-1>" . $rsQuery["characterization"] . "...</font><br>"); echo ("<font size=-2>" . $rsQuery["HitCount"] . " hit(s)</font></p>"); The function $rsQuery->RecordCount seems to work correctly, however, I just can't seem to get $rsQuery["vpath"] to get me any data. Any ideas? Probably due to syntax of property access of COM objects within PHP... haven't used this much, but you might want to try the COM function com_get()... From PHP Manual (though the com functions ARE NOT well documented) - mixed com_get (resource com_object, string property) Try that and see what happens. -- Andy Hoffman Web Developer Bristol-Myers Squibb email: andy.hoffman@bms.com_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.