title: PHP get_file_content, content different on multiple hosts
body: <p>I have a issue where I have identical code on different hosting providers. They are both meant to collect data from Linnworks API.</p>
  
  <p>The issue had been on the new host, allow_url_fopen was set to OFF.  Once I fixed this I started getting data.  </p>
  
  <p>However, there is a huge difference in the amount of data I get, the old host I get lots, but the new host I get very little, even with identical code.  </p>
  
  <p>I asked the support of the new host, who pointed me to allow_url_fopen, and they said compare the two phpinfo() from both hosting, because it's a php configuration problem.</p>
  
  <p>Looking at both, there are many differences, what is the correct part of the PHPINFO() to look at to see if there are limits to the amount of data get_file_contents allows me to collect ?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>This is what the New host gives:</p>
  
  <pre><code>Array ( [Id] =&gt; 369fe666-b738-490d-8621-02717ee268d1 [SKU] =&gt; WC-MGR62ZM/A [Title] =&gt; Genuine Apple iPhone 6 Leather Case Black Leather [Price] =&gt; 29.99 [Images] =&gt; [Extend] =&gt; [Description] =&gt; )
  </code></pre>
  
  <p>This is what the old host gives, as an example:</p>
  
  <pre><code>Array ( [Id] =&gt; 369fe666-b738-490d-8621-02717ee268d1 [SKU] =&gt; WC-MGR62ZM/A [Title] =&gt; Genuine Apple iPhone 6 Leather Case Black Leather [Price] =&gt; 29.99 [Images] =&gt; Array ( [0] =&gt; Array ( [pkRowId] =&gt; df430ba3-bd61-46ab-88e2-659801432c45 [Source] =&gt; http://images.linnlive.com/b437b033b085aa0cc7e48e8e31f766d1/tumbnail_df430ba3-bd61-46ab-88e2-659801432c45.jpg [IsMain] =&gt; [StockItemId] =&gt; 369fe666-b738-490d-8621-02717ee268d1 ) [1] =&gt; Array ( [pkRowId] =&gt; afa351a2-fbd9-4bd4-8c22-99f47a82af42 [Source] =&gt; http://images.linnlive.com/b437b033b085aa0cc7e48e8e31f766d1/tumbnail_afa351a2-fbd9-4bd4-8c22-99f47a82af42.jpg [IsMain] =&gt; [StockItemId] =&gt; 369fe666-b738-490d-8621-02717ee268d1 ) [2] =&gt; Array ( [pkRowId] =&gt; 62e0b4ab-230d-457c-9fac-c8cf4f0877ba [Source] =&gt; http://images.linnlive.com/b437b033b085aa0cc7e48e8e31f766d1/tumbnail_62e0b4ab-230d-457c-9fac-c8cf4f0877ba.jpg [IsMain] =&gt; [StockItemId] =&gt; 369fe666-b738-490d-8621-02717ee268d1 ) ) [Extend] =&gt; Array ( [0] =&gt; Array ( [pkRowId] =&gt; 41e84165-5993-42e9-8a99-04e924e47b74 [fkStockItemId] =&gt; 369fe666-b738-490d-8621-02717ee268d1 [ProperyName] =&gt; Type [PropertyValue] =&gt; Fitted Case/Skin [PropertyType] =&gt; Attribute )  
  </code></pre>
  
  <p>Something that may be relevant is it is making multiple get_file_content calls to collect all this data.</p>
  
  <p><strong>SECOND UPDATE</strong></p>
  
  <p>The issue does seem to be that the new server prevents me from making multiple get_file_content calls.  Going over the PHPINFO() from each, and making changes has made no positive effect so far.  But as it makes the first call fine, the second call comes back blank, so no errors, much like before when allow_url_fopen was off ?</p>
  
  <p>Can anyone help ?</p>
  
  <p>Thanks</p>
  
  <p>Andrew</p>