post

  1. 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