PDA

View Full Version : TCP/IP Server String Variables



desmo
October 13th, 2002, 12:55 PM
I cant get TCP/IP Server(2.0) working with string variables (%x=’A String’).

I am trying to use a browser (an Audrey) to launch MS Windows Media Player7 on a Win2k / IIS box.
I already have the PHP script triggering a Girder command to launch WMP7, but I want to pass the name of the wmv file it should open.
The TCP Server plugin help says:



command $u=v $x=y %z='abc' sets multiple registers, and executes the command, no return.
where %z is the string variable; so I tried:

fputs ($fp, "command %1=’filename.wmv’nr");
Sadly this crashes girder double quick.
What should I be doing?
Specifically, how do I send the command & variable assignment in PHP?
How do I use the string variable in Girder?

Please be gentle with me, its my first time in here!

<font size=-1>[ This Message was edited by: desmo on 2001-10-10 01:07 ]</font>