1
PHP Code:
wget --http://ip.serdit.ro | grep "IP address is" 
2
PHP Code:
wget http://ipecho.net/plain -O - -q ; echo 
3
PHP Code:
curl ipecho.net/plain; echo 
4
PHP Code:
curl icanhazip.com 
5
PHP Code:
curl ifconfig.me