c# send image to php script, php script loop through $_FILES array

ReginkaA

New Member
Okay so i have code that uploads images \[code\]WebClient client = new WebClient();client.Headers.Add("Content-Type", "application/x-www-form-urlencoded");client.UploadFile("Address/upload.php", "POST", @"C:\Test\test.jpg");\[/code\]For example, the file name will be dynamic and could be anything, so how do i send an image to server and then save it basically through a php script
 
Back
Top