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 in an interview for internship.
I'm obligated to ask this question of Networking with PHP topic in division File and Session Handling in PHP of PHP