User Profile

Collapse

Profile Sidebar

Collapse
junOOni
junOOni
Last Activity: Nov 28 '08, 04:16 PM
Joined: Nov 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • junOOni
    replied to post data to PHP page from VB.NET
    in .NET
    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!
    See more | Go to post

    Leave a comment:


  • junOOni
    started a topic post data to PHP page from VB.NET
    in .NET

    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...
    See more | Go to post
No activity results to display
Show More
Working...