note 8534 added to com_get
| From: | trave at scene dot cx | Date: | Fri, 15 Sep 2000 09:17:58 +0000 |
| Subject: | note 8534 added to com_get | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5086@lists.php.net to get a copy of this message | ||
I have a COM object that posts data to a URL and returns the resulted html code, but when there is
no result data I get an error which causes php to hault completely.<br><br>PHP as an
ISAPI module it gives me:<br>
<i>"PHP has encountered an Access Violation at
780012F3"</i><br><br>PHP as a CGI would say something to the effect
of:<br>CGI Runtime error.<br><i><sub>(I forget, I could find an old email
about it later if it matters.)</sub></i><br><br>Anyways, to get around it,
we had to rewrite the COM object .dll to write a space if the value was NULL. It may want to be
looked into about compensating for this in the actual com_get function though.<br>Just wanted
to say.<br>- Trave
http://www.php.net/manual/function.com-get.php