Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#31 fix if connection was refused

closed
nobody
None
5
2004-06-17
2004-06-01
Reini Urban
No

Skip gmmktime() with invalid date if the connection was
refused.

$date holds the connection refused message then,
splitted into some words, which is invalid for
gmmktime, which prints a warning.

Discussion

  • Martin Geisler
    Martin Geisler
    2004-06-17

    • status: open --> closed
     
  • Martin Geisler
    Martin Geisler
    2004-06-17

    Logged In: YES
    user_id=104098

    I've just added a @ infront of the two calls to fsockopen(),
    and that makes the script behave as expected when no
    connection can be made (when the outgoing interface is down).

    I don't know if it would react differently if it is the
    remote host who refuses the connection?