50. Write To Online Text File

In this tutorial, we start to integrate VB.NET with PHP by writing text to an online file. This tutorial requires small knowledge of PHP but you should be able to do it even if you don’t know any PHP.

Code

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim request As WebRequest = WebRequest.Create("http://h1.ripway.com/writetext/post.php?w=" & TextBox1.Text)

        request.GetResponse()

    End Sub

End Class


Dowload post.php