DJ Hands3
05-29-2011, 08:02 PM
I rely on file get contents like this file_get_contents('http://www.externalsite.co.uk/search1.php?q='.$file_name); and it will retreive all split winrar parts to download for the file passed from the query and this is from another external site I run where the files are stored.
The above is run 5 times per page, but since yesterday the page stopped downloading and just hangs, so I limited the pagination to show 1 file per page so will only call file get contents once per page this solved the problem so the webpage would load.
I'm sure it's the server on my external site that has somehow slowed down, and there for freezes the page trying to get the contents. On the other side of things I doubt it but the shared server file get contents runs on maybe they have reduced my php memory limit, but I googled a bit on this and from what I have found it doesn't use much memory?
I thought I would just ask the before I raise a support ticket
The above is run 5 times per page, but since yesterday the page stopped downloading and just hangs, so I limited the pagination to show 1 file per page so will only call file get contents once per page this solved the problem so the webpage would load.
I'm sure it's the server on my external site that has somehow slowed down, and there for freezes the page trying to get the contents. On the other side of things I doubt it but the shared server file get contents runs on maybe they have reduced my php memory limit, but I googled a bit on this and from what I have found it doesn't use much memory?
I thought I would just ask the before I raise a support ticket