tag:blogger.com,1999:blog-1936344583004152809.post2380279295011800766..comments2022-03-31T13:59:34.492+02:00Comments on What to do, what to say...: file_get_contents acting very slowmoffe42http://www.blogger.com/profile/17853406751760990331noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-1936344583004152809.post-61422965499042177132015-03-25T05:52:05.164+01:002015-03-25T05:52:05.164+01:00This worked like a charm for me! Thanks!This worked like a charm for me! Thanks!le fittahttps://www.blogger.com/profile/07767889115135768775noreply@blogger.comtag:blogger.com,1999:blog-1936344583004152809.post-15336882887761861562015-03-03T02:03:45.880+01:002015-03-03T02:03:45.880+01:00This comment has been removed by the author.oangiahttps://www.blogger.com/profile/15560177419009812983noreply@blogger.comtag:blogger.com,1999:blog-1936344583004152809.post-49270944776613700842012-06-06T14:54:16.353+02:002012-06-06T14:54:16.353+02:00I have to admit that I am no expert on HTTP, so my...I have to admit that I am no expert on HTTP, so my knowledge in this area is very limited. You could try to force the connection over to HTTP 1.0, that might work, but no guarantee. If you re not controlling the the actual service yourself, you might not have any options, since it is up to the service to actually adhere to the headers you send.<br /><br />If you find the course or solution to your problem, please let me know. I had to dig very deep, to find the solution that worked for me, so any additional info on these kind of problems should be spread.moffe42https://www.blogger.com/profile/17853406751760990331noreply@blogger.comtag:blogger.com,1999:blog-1936344583004152809.post-60649930291230726712012-04-10T18:44:21.057+02:002012-04-10T18:44:21.057+02:00I too am having the same issue even after applying...I too am having the same issue even after applying your advice. I've tried:<br /> - Using an IP address rather than a DNS name.<br /> - Setting the 'Connection: close' header in the context as you suggest.<br /> - Using simplexml_load_file() instead of file_get_contents().<br /><br />No matter what I do it takes several seconds for PHP to respond with something that is instant through the Web browser!Russhttps://www.blogger.com/profile/17740402550436126412noreply@blogger.comtag:blogger.com,1999:blog-1936344583004152809.post-87492639012140955292012-01-10T02:43:33.989+01:002012-01-10T02:43:33.989+01:00Hi
i have the same problem of performance and tr...Hi <br /><br />i have the same problem of performance and tried to apply your advice, but my problem is not solved....<br /><br />Can you help me please ?SuhisLoverhttps://www.blogger.com/profile/18038096826314706001noreply@blogger.com