NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
fsockopen timeout


Joined: 22 Sep 2003
Posts: 10
Location: Spain
Reply with quote
Hi!

I obtained the fsockopen() timeout error after 30 seconds if my program not conect to my soap server...

How can I control this error to avoid standar php messages?

Thanks
View user's profileFind all posts by nunezjjSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you can try to set lower timeout with socket_set_timeout() .
Regarding errors you'd either add @ before function calls to suppress them or better set display_errors = Off in php.ini.
If you want, you can write grateful handler for errors using appropriate functions in php. See php manual for further details.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Thank


Joined: 22 Sep 2003
Posts: 10
Location: Spain
Reply with quote
Thank U very much.

Rolling Eyes
View user's profileFind all posts by nunezjjSend private message
fsockopen timeout
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic