I want to know when I upload file in C# with this code:
Please check code from here
Usage:
NameValueCollection nvc = new NameValueCollection();
nvc.Add("id", "TTR");
nvc.Add("btn-submit-photo", "Upload");
HttpUploadFile("http://your.server.com/upload", @"C:\test\test.jpg", "file", "image/jpeg",
nvc);
After that how can I get file in PHP?
I know I can get value
from POST
and GET
, but how to get File
and save that in server?
I know how to save file in server but I can't find any parameters in POST
or GET
for get file.
GET
parameters: $_GET['link'];
or for POST
: $_POST['link'];
What parameters for FILE
?