Re: [PHP] Socket create with ssl server

2008-04-18 Thread Alan Willsher
rying to connect via the IP instead of ssl://epp.server.com fails. Thanks On Fri, Apr 11, 2008 at 12:15 AM, Nirmalya Lahiri <[EMAIL PROTECTED]> wrote: > --- Alan Willsher <[EMAIL PROTECTED]> wrote: > > > Hi how do you use socket_create with an ssl server > &

Re: [PHP] loop inside a loop

2008-04-18 Thread Alan Willsher
Thanks ! On Fri, Apr 18, 2008 at 4:03 AM, Casey <[EMAIL PROTECTED]> wrote: > On Thu, Apr 17, 2008 at 6:51 PM, Alan Willsher > <[EMAIL PROTECTED]> wrote: > > Hi can you put a loop inside a loop? > > > > what I want to do is have something looping every 1

[PHP] loop inside a loop

2008-04-17 Thread Alan Willsher
Hi can you put a loop inside a loop? what I want to do is have something looping every 1 second and then something else looping once every 10 seconds. something like a combination of these two.. $x = 0; while ($x < 1000) { echo "1"; $x++; sleep(1); } $y = 0; while ($y < 100) { echo "2"; $y++; s

[PHP] Socket create with ssl server

2008-04-10 Thread Alan Willsher
Hi how do you use socket_create with an ssl server ie I would do something like $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($sock, $sourceip); socket_connect($sock, 'server.com', 2043); but if I do $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_bind($sock, $s

Re: [PHP] Re: Connecting to an epp server

2008-04-10 Thread Alan Willsher
What is 4 bytes ? On Thu, Apr 10, 2008 at 3:35 PM, Paul van Brouwershaven < [EMAIL PROTECTED]> wrote: > don't forget to send the 4 bytes! > > Alan Willsher schreef: > > Hi im trying to connect to Nominets EPP server > > > > Details can be found here &g

[PHP] Connecting to an epp server

2008-04-09 Thread Alan Willsher
Hi im trying to connect to Nominets EPP server Details can be found here http://www.nominet.org.uk/registrars/systems/epp/ Im trying to send a login request the example can be found here http://www.nominet.org.uk/registrars/systems/epp/login/ My script seems to connect ok, but im recieving no re