php

  1. K

    Question File transfer via port 80

    Hello I want to implement file transfer in a bunch of C # and PHP. Client-side function: public void Upload() { string uriString = "http://127.0.0.1/upload.php"; WebClient myWebClient = new WebClient(); myWebClient.Headers.Add("Content-Type"...
  2. sbondo1234

    Question How to upload file and POST vars to php

    I have a C# script that uploads an image to my webserver with PHP here: C#: WebClient Client = new WebClient(); Client.Headers.Add("Content-Type", "binary/octet-stream"); byte[] result = Client.UploadFile("https://example.com/test.php", "POST", @"C:\mario.jpg"); string s =...
Back
Top Bottom