- Jun 28, 2004
- 1,756
- 102
- 259
is this possible?
What im wanting is a php script that loads a mysql database and reads several rows and their ip's, and then uses fsockopen on each one and returns the info (online or not or whatever)
e.g.
php script reads mysql
ID - ip_address
1 - ip1
2 - ip2
3 - ip3
4 - ip4
5 - ip5
is it possible to do these in an array so then you can use sumthing like this:
thanks to whoever helps
What im wanting is a php script that loads a mysql database and reads several rows and their ip's, and then uses fsockopen on each one and returns the info (online or not or whatever)
e.g.
php script reads mysql
ID - ip_address
1 - ip1
2 - ip2
3 - ip3
4 - ip4
5 - ip5
is it possible to do these in an array so then you can use sumthing like this:
PHP:
fsockopen($iparray[$i],$portnumber,$errno, $errstr, 5 );
thanks to whoever helps