[PHP] Setting fopen timeout ?

2004-05-02 Thread Dave Carrera
Hi List, How can I set fopen to time out if a url is not reachable ? I have tried set_time_limit but that dose not seem to work. Thank you in advance for any help or pointers. Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version:

Re: [PHP] Setting fopen timeout ?

2004-05-02 Thread Marek Kilimajer
Dave Carrera wrote: Hi List, How can I set fopen to time out if a url is not reachable ? I have tried set_time_limit but that dose not seem to work. Thank you in advance for any help or pointers. Dave C I'm not sure it will help but try ini_set('default_socket_timeout', XX); --- Outgoing