RES: Bug #12471 Updated: DCOM don't running
| From: | Ismael da Silva Mendes | Date: | Mon, 06 Aug 2001 12:41:26 +0000 |
| Subject: | RES: Bug #12471 Updated: DCOM don't running | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-62236@lists.php.net to get a copy of this message | ||
Hi, I'm brasilian this is o code i'm try running!!
<html>
<head>
<title>Teste PHP & COM</title>
</head>
<body>
<p>"Teste PHP & COM/DCOM"</p>
<?
/* CP_ACP - ANSI code page
CP_MACCP - Macintosh code page
CP_OEMCP - OEM code page
CP_SYMBOL - Windows 2000: Symbol code page (42)
CP_THREAD_ACP - Windows 2000: Current thread's ANSI code page
CP_UTF7 - Windows NT 4.0 and Windows 2000: Translate using UTF-7
CP_UTF8 - Windows NT 4.0 and Windows 2000: Translate using UTF-8. When
this is set, \
dwFlags must be zero. */
$conv = new COM("APS_servidor.APS_geral","detweb, CP_ACP") or die("Objeto
COM não instânciado!");
$text = $conv->Escreve_texto("Terrible");
echo "$text";
?>
</body>
</html>
This too is my php.ini!!!
[Sockets]
sockets.use_system_read=On ; Use the system read() function instead of
; the php_read() wrapper.
; Local Variables:
; tab-width: 4
; End:
;com.typelib_file =
com.allow_dcom = on