ok i got it...
I have to send both name and value as a string. e.g
Dim errorString as String = "test string"
Dim postData = "errorStrin g=" & errorString
Dim byteArray As Byte() = Encoding.UTF8.G etBytes(postDat a)
This did it!!
Thanks anyway,
J!
User Profile
Collapse
-
post data to PHP page from VB.NET
Hello,
I have a vb.net application where i am sending error string to a php page to process it.
Dim errorString as String = "test string"
Dim request As WebRequest = WebRequest.Crea te("index.php" )
request.Method = "POST"
Dim byteArray As Byte() = Encoding.UTF8.G etBytes(errorSt ring)
request.Content Type...
No activity results to display
Show More
Leave a comment: