How to send a variable to a PHP script in a hosting server from my VB.Net Application?
I tried earlier but the response was Permission denied…
But the PHP script is chmodded to 777. Then also same error…
This only happens in byethost.com server.
Is there any work around for this. I am using their free hosting service.
The script I used in VB.net was…
Imports System.Net
Imports System.IO
...
Dim myUrl As String = "http://www.google.com"
Dim request As WebRequest
Dim response As WebResponse
request = WebRequest.Create(myUrl)
response = request.GetResponse()
Dim sr As StreamReader = New StreamReader(response.GetResponseStream())
Dim txt As String = sr.ReadToEnd()
and this
Imports System.Net
...
Dim wc as new WebClient
dim x as String = wc.DownloadString("http://google.com")
These are working for google.com, but not for any files in byethost.
Is it a chmodding problem or any other problem?
All php files are working, and I can access without any problem in html/flash.
But not for vb.net.
Error:
'System.Net.WebException' occurred in System.dll"