Posts: 1,769
Threads: 410
Joined: Feb 2003
i have some php code that connects to an snpp server (small network paging protocal) but i'd like to use qm to do the whole process.
can qm connect like to an snpp server like it does for an ftp server?
thanks
Posts: 12,097
Threads: 142
Joined: Dec 2002
No, but you can find a COM component for it.
Posts: 1,769
Threads: 410
Joined: Feb 2003
"No, but you can find a COM component for it."
well the term 'you' is a bit generous
:wink:
or is it 'find'?...either way.....i....ummmm.....don't really know what that is... :oops:
can you execute php code in qm like you do with VbsExec?
Posts: 12,097
Threads: 142
Joined: Dec 2002
find = google, download, and use in QM macros.
Quote:can you execute php code in qm like you do with VbsExec?
By default, Windows provides only two languages that can be used like VbsExec. They are VBScript and JScript. It is possible to install more languages. In this forum is something about it, but it not for php.
WSH and PerlScript
Posts: 1,769
Threads: 410
Joined: Feb 2003
yeah, took a look through google but the basic problem was that i dont really understand what a com component is or how to implement it. :lol:
a sort of 'it's all greek to me' thing.
thanks though.
Posts: 12,097
Threads: 142
Joined: Dec 2002
Posts: 12,097
Threads: 142
Joined: Dec 2002
Php also has active scripting engine. I'll create PhpX functions and post to Resources tomorrow.
It will be used like VbsExec:
str s=
;shell_exec('notepad');
PhpExec s
If want to test it, can download php from
http://php.net/downloads.php
I downloaded the 22 MB installer. When installing, did not install a web server. Also, selected all extensions. Then also needs to register the dll, which failed at first, but more about it tomorrow.
Posts: 1,769
Threads: 410
Joined: Feb 2003
Posts: 12,097
Threads: 142
Joined: Dec 2002