Imports System.Net
Dim client As New WebClient
Dim value As String = client.DownloadString("http://www.example.com")
MsgBox(value)
<?php
$country = "EG";
echo $country;
?>
Dim client As New WebClient
Dim value As String = client.DownloadString("http://www.yourwebsite.com/script.php")
MsgBox(value)
<?php
echo "Hello World!";
?>
echo $variableName
<?php
$var1 = "Value1";
$var2 = "Value2"
$var3 = "Value3"
echo $var1 . "|" . $var2 . "|" . $var3;
?>
Dim client As New WebClient
Dim value As String = client.DownloadString("http://www.yourwebsite.com/script.php")
Dim dataSplit() As String = Split(value, "|")
MsgBox(dataSplit(0)) ' Output Value1
MsgBox(dataSplit(1)) ' Output Value2
MsgBox(dataSplit(2)) ' Output Value3
<?php echo "Actual Weight is $weight kgs Volumetric weight is $b kgs ".'<br/>';
echo 'Destination: '.$country. '; Weight: '.$weight.'kgs'.'<br/>';
echo 'Dimensions: '. $length. ' x '.$width. ' x '. $depth.'(cms)';?>
http://www.dotnetperls.com/webclient-vbnet