[PHP] Testing smtp server

2002-12-13 Thread Max Clark
Hi- I would like to open a connection to tcp port 25 (smtp) as a conditional in a script (if succeeds to this, else to that). I found the socket_create function that is listed as experimental and requires a re-compile of php. Is there a built in way to perform this kind of test? Thanks in

Re: [PHP] Testing smtp server

2002-12-13 Thread Johannes Schlueter
On Friday 13 December 2002 21:30, Max Clark wrote: I found the socket_create function that is listed as experimental and requires a re-compile of php. Is there a built in way to perform this kind of test? Based upon the second example on http://www.php.net/manual/en/ref.sockets.php : echo