How do you ping an ip addresses in php. and give the the results as if you are on cmd program in windows <?php system(‘ping -c 192.168.0.104’); // Ping IP address. echo “pinged”; ?>

Member Avatar
Member Avatar
+0 forum 1

I removed a virus via MSE and afterwards have lost the ability to connect to the internet. This is a windows 7 professional 32 bit laptop. Staticly i can set the ip address and dns server and can ping the DG and the DNS server. I can also ping google by IP address. However cannot reach the website through IP address. I have tried winsock resets along with reinstallation of network adapter drivers. Even have done a system restore to a month back but so far none have worked. I have been scouring the web for the last 4 hours …

Member Avatar
Member Avatar
+0 forum 5

hello, i want to show the client's ip and machine name in ListView. Please help, Thank you. i also created code the collection for the listview collection [CODE] class ClientCollection { public string userIpadd { get; set; } public string userPcname { get; set; } public ClientCollection() { } } [/CODE] the code below will only show the number that the client connected to the server. [CODE] // Update the list of clients that is displayed void UpdateClientList() { listView1.Items.Clear(); for(int i = 0; i < m_workerSocketList.Count; i++) { string clientKey = Convert.ToString(i+1); Socket workerSocket = (Socket)m_workerSocketList[i]; ListViewItem item = …

Member Avatar
Member Avatar
+0 forum 16

The End.