Send commands to device with PHP / Xcode application

Hello guys,


I've tested the iTest application for Mac, and it works fine for me.

I only need the commands

  • setstate,1:1,0
  • setstate,1:1,1
  • getstate,1:1

And now I would like to make a webpage or an iphone application to send that commands to the device, I saw a script in another discussion, but it didn't worked for me. In the attachment is my .php file.

It is possible to connect to my local device on port 4998 with php?

My device is an iTach Wifi WF2CC with local ip


Thanks a lot for this great device,




1 comment

Please sign in to leave a comment.