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

Recommended Answers

All 2 Replies

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);
  }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.