Which one of the following statements can be used to establish port 80 connection with www.nachi.com?
(a) fsockopen(“www.nachi.com”, 80);
(b) sockopen(80,”www.nachi.com”);
(c) fsockopen(80,”www.nachi.com”);
(d) sockopen(“www.nachi.com”, 80);
The question was asked by my school principal while I was bunking the class.
The above asked question is from Networking with PHP topic in portion File and Session Handling in PHP of PHP