Jump to content

Need a data poling script


sjaakie

Recommended Posts

Hello I am directing a track and trace project we are almost done but we need to collect data form a text based server

the owner is a little unwilling who can give us a hand in the right way? We got form him a dephi script to fetch the data for the host

we build a php script on an second mysql host as a client.We need no to get the data in to our mysql.

The other vendor only has an example in Delphi see here:Can you make us a small pice off code?

We need to have a small script which connects to an other webserver Ther is a plain text strings entrys are coming in this data has to be fetched to our dbf (mysql)

 

This has to be done whit a look alike script but then in php.

I have got an example from a delphie script can you make that My programmer make tomorrow a extended explanation for you!

 

1: DNS: testsite.com

Port : 6789

Protocol TCP/IP.

2 Username: WST099

_ >> To connect send bij TCP/IP socket '*PEX,WST09,0,0,0'CRLF

> >>

> >> Every 4 minutes you get a keepalive signal *KEEPALIVE

> >>

> >> You have to respond to this with below procedure. (example Delphi)

>>

_

> >> Procedure Form1.Keep_Alive;

> >> begin

> >> if ClSock.Active then

> >> ClSock.Socket.SendText('*PEX,WST09,0,0,0' + #13#10); end;

end;

 

who can help us to make this work in php is it possible and how?

many thanks and every hind is valid!

regards jacques

Link to comment
https://forums.phpfreaks.com/topic/147642-need-a-data-poling-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.