Category : "PHP"

Socket programming in php

UDP socket programming in php

In a previous article we learnt about writing simple server and clients using TCP sockets in php. In this article we are going to use udp sockets for the same. UDP sockets are much simpler to work with since they are connection-less. A udp server just has an socket that waits to receive some data and a socket client can send ...

PHP Socket programming tutorial

Php and tcp/ip sockets This is a quick guide/tutorial to learning socket programming in php. Socket programming php is very similar to C. Most functions are similar in names, parameters and output. However unlike C, socket programs written in php would run the same way on any os that has php installed. So the code does not need any platform specific ...

Php script to fetch whois information of ip address

Whois information of ip addresses IP addresses are in the form of a.a.a.a where each letter is a number from 0-255. You would be happy to know that every ip address has some information associated to it. For example which isp or organisation has been allotted that ip address and where is that organisation located. This in turn tells the location ...