Hello,
how to get all data in .php file
Example i have
webwebweb.com/work.php?worker=1&shop=52
How can i get
strings in worker to string [] worker
strings in shop to string [] shop?
Thanks in advance
Hello,
how to get all data in .php file
Example i have
webwebweb.com/work.php?worker=1&shop=52
How can i get
strings in worker to string [] worker
strings in shop to string [] shop?
Thanks in advance
You have to use WebClient
class to request a URI/URL.
using (WebClient client = new WebClient())
{
byte []ar=client.DownloadData("http://webwebweb.com/work.php?worker=1&shop=52");
string str = System.Text.Encoding.UTF8.GetString(ar);
}
Well i am geting error
Query failed
And if i try
http://webwebweb.com/work.php?worker=1
or http://webwebweb.com/work.php?shop=52
i am getting same error
One worker is only in one shop
webwebweb.com/work.php?worker=1&shop=52 <<< true
webwebweb.com/work.php?worker=1&shop=12 <<< false
webwebweb.com/work.php?worker=12&shop=1 <<< true
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.