title: How to receive a file(ie. a text file) from a http post in php?
body: <p>I am sending a file from <code>client(C#)</code> using <code>webclient</code> or <code>HttpWebRequest</code>. I like to know to how to receive the file sent from client in <code>PHP(Server)</code> . 
                 I have checked <code>$_POST</code>, its empty.</p>
  
  <p><strong>Client code (c#) :</strong></p>
  
  <pre><code>using (WebClient client = new WebClient())
  {
   client.UploadFile("http://path/file.php","POST",@"Data.txt");
  }
  </code></pre>