Hmm, added @ to fsockopen() function, still happens, can anyone shed any
light on this?
TIA
Phil.
> -Original Message-
> From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2004 12:57
> To: Miguel J. Jiménez
> Cc: PHP
> Subject: RE: [PHP]
Hi Miguel,
I am giving it a test at the moment, thanks.
-- Phil.
> -Original Message-
> From: Miguel J. Jiménez [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2004 12:29
> To: Phil Ewington - 43 Plc
> Cc: PHP
> Subject: Re: [PHP] fsockopen() errors.
>
>
> Is it a
Is it an error or a warning? If it is a warning you can try use @
before fsockopen() to avoid echoing warning messages [EMAIL PROTECTED](...)].
--
Miguel J. Jiménez
ISOTROL, S.A. (Área de Internet)
Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA)
[EMAIL PROTECTED]
TLFNO. 955036800 ext. 111
--
Hi All,
Can anyone tell me the best way to avoid errors using fsockopen(). I have
tried wrapping the function call in a conditional statement, and have also
tried calling the function and then testing the return.
Example 1:
$sckHandle = fsockopen($server, 25, $errNo, $errString);
if ($sckHandle)
4 matches
Mail list logo