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

--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to