title: The PHP file_get_contents command does not work when read data from the Node.js server
body: <p>I try to send messages from PHP server to Node.js server. The purpose of the Node.js server is to convey the message forward using the Socket.io and Express.</p>
  
  <pre><code>$NodePage = file_get_contents($NodeServer. "/index.html?&amp;message=". $message);
  </code></pre>
  
  <p>The server always returns empty string and do not send a message. Same URL in browser working Ok and a message is sent correctly. I also try redirect command.</p>
  
  <pre><code>header("Location: http://xxxxxxx.fi/index.html?message=". $message);
  </code></pre>
  
  <p>Also returns empty string. Working Ok in web browser. I make PHP calls from C# client.</p>
  
  <pre><code>       HtmlWeb web = new HtmlWeb();
         string tempURL = _url + _htmlMessageStr +
                  "?message=" + msg.fullMessage) ;
  
         HtmlDocument doc = web.Load(tempURL);
         HtmlNodeCollection tags = 
         doc.DocumentNode.SelectNodes(_nodeText);
  
         _retVal = parse(tags[0].InnerHtml);
  </code></pre>
  
  <p>Any other data is ok from PHP, except node data (empty string). I tried to retrieve data from other Node.js servers and it restore the data correctly. Something is wrong with my Node.js server but what? Server is hosted by hosting company. The server does not run anything other than Node.js.</p>