I tried that but it didn't work - Although I found a different way to do it.
http://www.php.net/manual/en/function.fsockopen.php incase you're wondering.

Matt Kaufman
----- Original Message -----
From: "Matt Greer" <[EMAIL PROTECTED]>
To: "Matt Kaufman" <[EMAIL PROTECTED]>
Sent: Monday, August 06, 2001 9:43 AM
Subject: Re: [PHP] Host OnLine ?


> on 8/6/01 2:18 PM, Matt Kaufman at [EMAIL PROTECTED] wrote:
>
> > That's exactly what I was trying to do  -  with fopen();, however how do
you
> > specify which ports to use?  On default it uses 80, what if I want to
see if
> > port 21 is up etc.?
> >
> just add the port to the url
>
> fopen("http:www.domain.com:21/file/to/test.html");
>
> Matt
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to