S
s
Hi,
I am writting a winform application to post files to a web page (php). The
code doing the upload is:
Dim myWebClient As New System.Net.WebClient
Dim responseArray As Byte() =
myWebClient.UploadFile(http://mysite/upload/upload.php, "POST",
"c:\temp\test2.dat")
TextBox1.Text = Encoding.ASCII.GetString(responseArray)
===================================
However, this does not work server side at I don't know which variable is
used to get the file on the php page, and I need to reference the variable
by its name. I tried "file" but this does not work...
Thanks,
Seb
I am writting a winform application to post files to a web page (php). The
code doing the upload is:
Dim myWebClient As New System.Net.WebClient
Dim responseArray As Byte() =
myWebClient.UploadFile(http://mysite/upload/upload.php, "POST",
"c:\temp\test2.dat")
TextBox1.Text = Encoding.ASCII.GetString(responseArray)
===================================
However, this does not work server side at I don't know which variable is
used to get the file on the php page, and I need to reference the variable
by its name. I tried "file" but this does not work...
Thanks,
Seb