Re: [PHP] socket communication programming

2009-06-14 Thread Andrew Ballard
On Sat, Jun 13, 2009 at 4:58 PM, HELP! wrote: > On Sat, Jun 13, 2009 at 10:28 PM, Manuel Lemos wrote: > >> Hello, >> >> on 06/12/2009 11:41 AM HELP! said the following: >> > hi >> > I can not get the stream_get_contents() to work. it's returning empty. >> > If you have a login details "ALOGINPASS

Re: [PHP] socket communication programming

2009-06-13 Thread HELP!
Thanks. I need to access remote data via TCP. Connecting to the given port has been successful but getting acknowledgement from the remote server after sending the login packet is a problem. Is there anything wrong sending the login packet in strings? or what is the best way? I probably think the

Re: [PHP] socket communication programming

2009-06-13 Thread Manuel Lemos
Hello, on 06/12/2009 11:41 AM HELP! said the following: > hi > I can not get the stream_get_contents() to work. it's returning empty. > If you have a login details "ALOGINPASS 1A" cant you just fwrite($ft, > "ALOGINPASS 1A"); or do you need to add other things > > > what is the meaning of this

Re: [PHP] socket communication programming

2009-06-12 Thread Shawn McKenzie
HELP! wrote: > hi > I can not get the stream_get_contents() to work. it's returning empty. > If you have a login details "ALOGINPASS 1A" cant you just fwrite($ft, > "ALOGINPASS 1A"); or do you need to add other things > Depends upon what the server is expecting. > > what is the meaning of this s