I'm desperate here. I wrote a DA plugin which uses file_get_contents to read in a remote file (via sockets). On some servers this function doesn't work at all and timeouts after about a minute. On some other servers there's no problem.
I tried to write my own file_get_contents() using fopen(), and fread() and it shows exactly the same behaviour.
Anyone can shed some light on why this happens and what can be done about it?
I tried to write my own file_get_contents() using fopen(), and fread() and it shows exactly the same behaviour.
Anyone can shed some light on why this happens and what can be done about it?